Ok, still here? This is where the work starts. First you need to establish whether your theme has css code for a horizontal rule.

Rather than plow through the themes stylesheet, go to one of your pages or posts and click the text editor, then insert <hr> somehwere in the text. Click on preview and see if a horizontal rule has appeared, if not it's most likely you need to insert some code.

To do this, go to your dashboard, click on Appearance>Customize>Additional CSS, then copy and paste the following code,

hr {
margin-top: 1em;
margin-bottom: 1em;
margin-left: auto;
margin-right: auto;
border-style: solid;
border-width: 4px;
border-color: #352ece;
}

Now go back to your text editor and if the <hr> tag is still there, or if it isn't, reinsert it, refresh your page or post and you should see this:

Don't worry, I'll be explaining how to change it later in the tutorial. Just make sure that your theme allows customization of the stylesheet.



Join the Discussion
Write something…
Recent messages
YvonneBray Premium
Great tutorial on Horizontal rule. Great work.
Reply
Harrysastar2 Premium
Thanks, Yvonne, much appreciated.
Reply
vibol168 Premium
Hi Harry. Thank of your Lesson is really useful for me to use Horizontal Line. But i wonder my Dashboard doesn't appear like your lesson. it is mission some point like File, Edit, Insert and more. Could you please tell this problem, and other problem when I use Horizontal Line is no full. Thank
Reply
Harrysastar2 Premium
Hi Vebol, you need to be in visual mode to see File, Edit, etc. On your dashboard click on all pages or posts, open a page or post by clicking on it, click on Visual, not text, and you should see what you need, then just follow the training step-by-step. Hope this helps.
Reply
dunbar Premium
Hi Harry,it always seams so simple when someone else does it, thanks for a great training tip cheers Helen
Reply
Harrysastar2 Premium
Hi Dunbar, like they say, everything's simple when you know how. Glad you liked the training, thank you.
Reply
JewelCarol Premium
Thank you for the great training, Harry. :))
Reply
Harrysastar2 Premium
You're more than welcome , Jewel, thanks for your comment.
Reply
Loes Premium
This is great! Love it and bookmarked it! Followed you! I go to play with that! Solid, dashed, groove double etc. :)Thank you Harry!
Reply
Harrysastar2 Premium
Hi Loes, thank for bookmarking the training, glad you like it, I just thought I'd try to give a little bit back for all the good training I've received from members in the past. Following you.
Reply
Loes Premium
You're welcome Harry, follow back:)
Reply
Top