Jump to content


Photo
- - - - -

Change Common Default Text Size


  • Please log in to reply
7 replies to this topic

#1 itarsenal

itarsenal

    Advanced Member

  • Members

  • 94 posts
  • LocationPhiladelphia
  • Framework Version:Personal
  • Country: Country Flag

Posted 30 October 2012 - 04:27 PM

I've ventured into my child theme to change the p font size to 18, but then realize that my blockquotes, and ordered lists, and such are still at 12.

How can I change all the default txt size, or is it really best practice for me to set each of these individually?

#2 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 30 October 2012 - 04:33 PM

For blockquotes and lists, you'll need to set the size for these together like so:

Please Login or Register to see this Hidden Content



#3 itarsenal

itarsenal

    Advanced Member

  • Members

  • 94 posts
  • LocationPhiladelphia
  • Framework Version:Personal
  • Country: Country Flag

Posted 30 October 2012 - 04:36 PM

Aha, so it is best to do them individually. I noticed when I changed the ul, then my navigation was too large.

Next question, hopefully the last.

How do I only target pages and posts to make my fonts larger?

#4 James B

James B

    Advocate

  • Members

  • 5126 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 31 October 2012 - 05:42 AM

To target pages

Please Login or Register to see this Hidden Content

To target posts

Please Login or Register to see this Hidden Content


Place these before the css

#5 itarsenal

itarsenal

    Advanced Member

  • Members

  • 94 posts
  • LocationPhiladelphia
  • Framework Version:Personal
  • Country: Country Flag

Posted 01 November 2012 - 10:01 PM

Thank you!

Can I just say .page

... to target all pages?

#6 James B

James B

    Advocate

  • Members

  • 5126 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 03 November 2012 - 05:23 AM

Close, for all pages you just have to paste in the css, nothing else needed.

But if you want to use an ID you can use #page or .thepage

#7 itarsenal

itarsenal

    Advanced Member

  • Members

  • 94 posts
  • LocationPhiladelphia
  • Framework Version:Personal
  • Country: Country Flag

Posted 16 November 2012 - 06:43 PM

This got me pretty far, but what's happening is my top menu nav is also getting bigger, i just want the ul lists in my pages and posts to be bigger...having a hard time just grabbing them.

This is what I have but it's not working

column-main, ul {
font-size:18px
}

#8 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 16 November 2012 - 07:01 PM

If you only want to adjust the size of text in lists in your posts and pages, you should specify a class like so in the post/page editor:

Please Login or Register to see this Hidden Content



And then use this CSS class to adjust its size:

Please Login or Register to see this Hidden Content