Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

text styling in pages


  #1  
Old Apr 15, 2009, 12:44 PM
tomhypno
 
6 posts · Apr 2009
were can i change the colour of the text in the pages?

what i would like is to have different coulors fo h1 and h2 and paragraph text

what is a kicker?
  #2  
Old Apr 16, 2009, 08:50 AM
eyup
 
34 posts · Mar 2009
Body text colour can be changed in the 'Body, Text & Links' options.

But I've done this for the h's by changing the Stylesheet 'style.css' - changed font sizes, weight etc...:

h1 {font-size: 30px; font-weight: normal; line-height: 120%; color: #ff6600;}
h2 {font-size: 20px; font-weight: normal; line-height: 120%;}
h3 {font-size: 18px; font-weight: normal; line-height: 120%;}
h4 {font-size: 16px; line-height: 120%;}
h5 {font-size: 14px; line-height: 120%;}
h6 {font-size: 12px; line-height: 120%;}

Unless there's a better way?
  #3  
Old Apr 16, 2009, 09:59 AM
bcorrigan
 
85 posts · Feb 2009
I try always to avoid editing Flynn's wonderful files. When you do, you have to change the files again when he updates them, and he may do something different that will make you do all your work over again.

One of the best features of this theme is the ability to add html, javascript, css and in the different parts of the Web page.

So I recommend you put all that code in the CSS inserts.
  #4  
Old Apr 16, 2009, 10:05 AM
eyup
 
34 posts · Mar 2009
Ah Ha - So I presume the above format would work fine ans simply over rides the stylesheet?
  #5  
Old Apr 16, 2009, 06:25 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
Yes, the CSS inserts override everything. If they don't it may be due to:

  • The existing CSS rule is more specific, i.e. widget.classname li than yours, i.e. widget li
    -> make yours more specific, too, by adding classes and/or ID's to your selectors where available
  • The existing CSS rule uses an ID selector#id { }, whereas yours only has classes selector.class { }
    -> add an ID, too, if the element you want to style (or at least one of its parent elements) has an ID
  • If nothing helps
    -> add !important after each one of your rules: selector {property: value !important; }

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Styling text widgets Insane Artist Sidebars & Widgets 2 Jul 17, 2009 06:36 PM
[SOLVED] Child pages font size and styling - browser issue? neska0209 Page & Category Menu Bars 2 Jul 14, 2009 08:13 AM
Sidebar pages menu styling and more... nrg Sidebars & Widgets 0 Jun 5, 2009 05:11 PM
Styling in Blog - rather not have on pages Steve_T Atahualpa 3 Wordpress theme 1 Mar 17, 2009 02:44 PM
Styling Issue: Dashed Line around Pages andyro Page & Category Menu Bars 1 Dec 12, 2008 04:28 PM


All times are GMT -6. The time now is 09:17 AM.


Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.