Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   [SOLVED] Align horizontal rule in body of post (http://forum.bytesforall.com/showthread.php?t=5008)

PrairieProg Dec 25, 2009 07:20 PM

[SOLVED] Align horizontal rule in body of post
 
I follow a format on my blog where each post is followed by a horizontal rule and then a quote. Here is the HTML code I used with Atahualpa 2.*:

last sentence of post.
<hr align="left" width="33%" />Text text text text, etc.
<p align="right">Source of quote</p>

In 3.4.4, however, the horizontal line is centered, rather than aligned to the left. What do I need to do to get the new version to recognize that code? FWIW, the quote and coding are not in the Post Footer but in the actual Post Body. The "align='right'" code functions properly

juggledad Dec 29, 2009 12:55 PM

Change your <hr...> to
HTML Code:

<hr class="put-hr-left" />
and add the following to ATO->Add HTML/CSS Inserts->CSS Insert
HTML Code:

.put-hr-left {
margin-left: 0 !important;
width: 33% !important;
color:#cccccc;
background-color:#cccccc;
height:2px;
border:none;
}


PrairieProg Dec 29, 2009 03:20 PM

Wondrous! It worked and the search and replace plugin took care of it on every post.

Thanks!!! Want to give a shot at my new question?


All times are GMT -6. The time now is 12:20 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.