Jump to content

Archived

This topic is now archived and is closed to further replies.

fabienfons

H1, H2 etc color

Recommended Posts

fabienfons

Hi,

 

I'd like to know if there is a custom code to define a color for every H1titles, another color for H2 titles etc etc..

 

Thanks 

 

Fabien

Share this post


Link to post
Share on other sites
Danny

HI,

 

Well you just use custom CSS like so

 

h1, h2 etc... { .... }

 

However, some sections header have classes that have been styled via the class to give them a color and other unique styling. If you want to override that, you will want to use the classname for that sections header and override it.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
fabienfons

hum, a little bit too hard for me..

I don't know what do i have to write and where...

 

Share this post


Link to post
Share on other sites
fabienfons

ok, but i i want every H1 in red for example, which custom code should i write ?

 

Sorry, i 'm a beginner..

 

Fabien

Share this post


Link to post
Share on other sites
dawsonbarber

This should do the trick:

h1 {
color: red !important;
}

Share this post


Link to post
Share on other sites
fabienfons

Haaaaaaaaa !

 

THANK YOU,

 

just PERFECT :)))

Share this post


Link to post
Share on other sites
fabienfons

and if i want H1 in bold ?

Share this post


Link to post
Share on other sites
Aires

h1 {
color: red !important;

font-weight: bold; 
}

 

Add !important if you don't see a change


ndTgvai.jpg

Visit iheartpagelines.com for the latest tutorials on PageLines related products.

 

Share this post


Link to post
Share on other sites
fabienfons

Fantastic :)

Share this post


Link to post
Share on other sites

  • Similar Content

    • Lisa Haran
      By Lisa Haran+
      Hi 
      I have a map here http://www.iloveoffset.com/maps/
      I want to add several pointer locations to the map, but when I do they do not appear.
      On this map there are 2 pointer locations and as you can there is only one visible.
      Earlier today I added 7 and could only see 4 so there is something odd going on.
      My theme is up to date
    • clj182
      By clj182+
      Hello,
      I've been having trouble unlocking the template section for past couple of weeks. When I try clicking nothing happens. 
      I've deleted my custom css and removed plugins. Im down to having only the following plugins:
      Akismet
      Contact Form 7
      DMS Professional Tools
      Pagelines Updater
      WooCommerce
      It was working fine before i have no idea what's going on with it.
    • flourishdesignstudio
      By flourishdesignstudio+
      My DMS 2 site http://www.heart-stone.com/ will not save any new custom css... I can still edit templates and publish those but any custom css that I enter never saves.
      All WP files, themes, and plugins are up to date. 
      Any thought about what might be causing this?
    • flourishdesignstudio
      By flourishdesignstudio+
      Is there a way to edit the custom CSS via FTP? I know I can edit the custom code in the Chrome editor but is there a file path I can use to find and edit the CSS directly from our FTP?
      Thanks in advance for the help!
    • nizami
      By nizami+
      Using navbar section with correctly configured WP menu to display main navigation at https://elenaangel.com. 
      All fine in desktop viewport. Menu displays twice in hamburger mode. How to fix this please? 

×