Styling the DIVIDER

  • Posted in : Bloggy WP
  • HeyMimi
    Participant

    I’m having trouble finding the code to the Divider shortcode, so that I can make add a background image to it (a tiny repeating one, so it can stretch or not, as needed). Is that styled in Bootstrap?

    Mehmet S.
    Keymaster

    Hi,

    – upload your image to your “Media Library”.

    – copy image “File URL”.

    – use this in your custom css field:

    hr
    {
    background-image: url("paste-your-image-url-here");
    }
    

    Thanks

    HeyMimi
    Participant

    Thank you for the code! Then I would I use HR html tag or a divider shortcode in the post? Do I need to tell it to repeat? Or that is automatic?
    (sorry, I know it’s not your job to teach me css. just thought I’d give it shot, while I was asking about the shortcode/HR question). :-)

    ahmetsali
    Keymaster

    Hi, repeat is automatic on css background property.

    HeyMimi
    Participant

    Thank you!

    Mehmet S.
    Keymaster

    You are welcome!

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register