Jump to content


Photo
- - - - -
Resolved

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

css font post content

  • Please log in to reply
4 replies to this topic

#1 colintsui

colintsui

    Member

  • Members
  • 28 posts

Posted 21 September 2012 - 06:28 PM

Hello,

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

Please Login or Register to see this Hidden Content


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

#2 batman

batman

    Bat Learning

  • Members

  • 1768 posts
  • LocationBuenos Aires, Argentina
  • Framework Version:DMS
  • Country: Country Flag

Posted 21 September 2012 - 07:42 PM

Hi
You can try add in
PageLines > Site Options > Custom Code > CSS Rules

Please Login or Register to see this Hidden Content

you modify #em as you like.
It is advisable to learn how to do this on your own too.
Check out

Please Login or Register to see this Hidden Content




If you need more CSS help, make sure you've downloaded Firebug for Firefox
and check out W3 Schools for more info.

Please Login or Register to see this Hidden Content



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

Please Login or Register to see this Hidden Content


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

#3 mackenzie

mackenzie

    Advocate

  • Members
  • 333 posts
  • Country: Country Flag

Posted 23 September 2012 - 01:41 PM

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

#4 colintsui

colintsui

    Member

  • Members
  • 28 posts

Posted 24 September 2012 - 12:47 PM

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!

#5 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 24 September 2012 - 10:00 PM

The topic was marked as resolved.





Also tagged with one or more of these keywords: Resolved, css, font, post content