Archived

This topic is now archived and is closed to further replies.

  • 0

Resolved cannot change the font size of <p> tag within content


Question

Posted · Report post

Hello,

I tried to add the following code to custom codes section but it does not work. It doesn't change the font size:


p.entry_content { font-size: 18px; }

I have no experience on coding so not sure this code is correct or not. I only want to change the font size within <p> within post content only. Thanks a lot

Colin

Share this post


Link to post
Share on other sites

4 answers to this question

Posted · Report post

Hi

You can try add in

PageLines > Site Options > Custom Code > CSS Rules

.fpost .post-excerpt, .fpost .entry_content {font-size: 2em;}

you modify #em as you like.

It is advisable to learn how to do this on your own too.

Check out http://www.pagelines...wiki/Custom_CSS

If you need more CSS help, make sure you've downloaded Firebug for Firefox

and check out W3 Schools for more info.

http://www.w3schools.com/

I believe that if you want only change font size within <p> you can use TinyMCE Advanced Plugin

http://wordpress.org...nymce-advanced/

This edit font size at the WP Visual Editor as you like, it work fine to me.

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks it worked like a charm! And actually I have followed the CSS guide on the page you referred to and used firebug to findout .entry_content, but I didn't know I have to add .fpost aswell. Thanks a lot!

Share this post


Link to post
Share on other sites

Posted · Report post

The topic was marked as resolved.

Share this post


Link to post
Share on other sites

Posted · Report post

Please let us know you have tried the above suggestion and what the outcome was.

Share this post


Link to post
Share on other sites