Jump to content
itarsenal

Change Common Default Text Size

Recommended Posts

itarsenal+    3
itarsenal

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?


Robert Granholm

http://itarsenal.com | Technical Support for Online Entrepreneurs

Share this post


Link to post
Share on other sites
catrina    103
catrina

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

blockquote, ul {font-size: #em;}[/CODE]


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
itarsenal+    3
itarsenal

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?


Robert Granholm

http://itarsenal.com | Technical Support for Online Entrepreneurs

Share this post


Link to post
Share on other sites
James B    436
James B

To target pages


.page-id-2 (replace with real page id)


To target posts
.post[/code]

Place these before the css


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
itarsenal+    3
itarsenal

Thank you!

Can I just say .page

... to target all pages?


Robert Granholm

http://itarsenal.com | Technical Support for Online Entrepreneurs

Share this post


Link to post
Share on other sites
James B    436
James B

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


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
itarsenal+    3
itarsenal

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

}


Robert Granholm

http://itarsenal.com | Technical Support for Online Entrepreneurs

Share this post


Link to post
Share on other sites
catrina    103
catrina

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:

<ul class="postlist">
And then use this CSS class to adjust its size:
ul.postlist[/code]


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×