Enjoy unlimited access to all forum features for FREE! Optional upgrade available for extra perks.

Why does wordpress not have font size for pages or post?

Status
Not open for further replies.
Dynadot - Expired Domain Auctions

NamePrime

nameprime.com
Legacy Platinum Member
Joined
Feb 15, 2010
Messages
839
Reaction score
18
If you want to apply it multiple times, it's better to add a class in your style.css file and put your custom style code there.

Ex:

in your style.css:

.MyCustomText
{
font-size:30px;
font-weight:bold;
}

inside your content:

<span class="MyCustomText">my text</span>

Note: When editing your content, make sure you have switched to HTML Code Editing.
 

Aleksandar

Level 5
Legacy Platinum Member
Joined
Apr 16, 2009
Messages
441
Reaction score
4
Why does wordpress not have font size for pages or post?

i can bold the text, change colors, but i cant change size?

can someone please help?

If you want to change the size of the whole text on pages/posts, dive into the style.css of the theme and find the parameter that defines it's size.

If you want to change the size of a particular word/phrase within the post/page, then you can follow kithkanan's advice and add a custom class into the theme's css file. After that, you need to edit your posts/pages from the "html edit mode" and apply the class to the text you need enlarged or so.

Also, if you define a new class for custom text, do not forget to define hyperlink properties as well, or your links will inherit the previous properties, which will make them bounce up and down because of the size change. I'm not a css expert of course, but I did some coding in the past.
 

Gerry

Dances With Dogs
Legacy Exclusive Member
Joined
Dec 3, 2006
Messages
14,984
Reaction score
1,302
WP is flexible and you should know what the CSS or style sheet does and is.

You can reset defaults or customize just a certain segment.

Or, as drag mentioned, just edit the HTML vs Visual editor when you are creating a page.

Wordpress, in my opinion, is pretty much a basic HTML site broken down into components.

No matter how a site is constructed, if you want to change something you have to know where in the line of code it is and how to change it.
 
Status
Not open for further replies.

Who has viewed this thread (Total: 1) View details

Who has watched this thread (Total: 1) View details

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Members Online

Sedo - it.com Premiums

IT.com

Premium Members

MariaBuy

Upcoming events

New Threads

Our Mods' Businesses

UrlPick.com

*the exceptional businesses of our esteemed moderators

Top Bottom