0
Welcome Guest! Login
0 items Join Now

SOLVED How to modify header color in gantry framework

    • Andres's Avatar
    • Andres
    • Rocketeer
    • Posts: 96
    • Thanks: 0

    Re: SOLVED How to modify header color in gantry framework

    Posted 10 years 10 months ago
    • Hello,

      I have attached and image because I don't know the technical name of these parts of the template.

      This image is hidden for guests.
      Please log in or register to see it.


      Regards,

      Andrés
    • cdavis411's Avatar
    • cdavis411
    • Preeminent Rocketeer
    • Posts: 17787
    • Thanks: 882

    Re: SOLVED How to modify header color in gantry framework

    Posted 10 years 10 months ago
    • your site is not loading right now I will try again alter
    • Andres's Avatar
    • Andres
    • Rocketeer
    • Posts: 96
    • Thanks: 0

    Re: SOLVED How to modify header color in gantry framework

    Posted 10 years 10 months ago
    • Hello,

      It is working fine now. Sorry for the inconvenience.

      Regards,

      Andrés
    • cdavis411's Avatar
    • cdavis411
    • Preeminent Rocketeer
    • Posts: 17787
    • Thanks: 882

    Re: SOLVED How to modify header color in gantry framework

    Posted 10 years 10 months ago
    • no worries. change your custom css to this
      body #rt-top-surround, body .gf-menu .dropdown {background: #000000;filter: none;}
      body .gf-menu .dropdown {border-color: #000;box-shadow: none;}
      body {background: #FFFFFF !important;}


      that will not change the hover background color of the menu items. Not sure if that is something you wanted to change also.
      :cheesy:
    • Andres's Avatar
    • Andres
    • Rocketeer
    • Posts: 96
    • Thanks: 0

    Re: SOLVED How to modify header color in gantry framework

    Posted 10 years 10 months ago
    • Hello,

      Yes, I want to change the hover background color and the menu color text too.

      Your informartion is really helpful. Can I see any tutorial about how to modify all gantry css and where to see all the part of the template (for example rt-header,background, etc.).

      Thank you again for all your help!

      Andrés
    • cdavis411's Avatar
    • cdavis411
    • Preeminent Rocketeer
    • Posts: 17787
    • Thanks: 882

    Re: SOLVED How to modify header color in gantry framework

    Posted 10 years 10 months ago
    • cdavis411's Avatar
    • cdavis411
    • Preeminent Rocketeer
    • Posts: 17787
    • Thanks: 882

    Re: SOLVED How to modify header color in gantry framework

    Posted 10 years 10 months ago
    • I almost forgot the most important part. You need to lear how to use the element inspector in Firebug for firefox or the Chrome Dev Tools. This will change your world. Just google it and get some coffee. :cheesy:
    • Andres's Avatar
    • Andres
    • Rocketeer
    • Posts: 96
    • Thanks: 0

    Re: SOLVED How to modify header color in gantry framework

    Posted 10 years 10 months ago
    • Hello,

      Done!. Can you please tell me how can I change the hover background color and the menu color text too?

      Also, If I want to change something in k2 css, should include this in gantry-custom.css too?

      Thank you very much for all your links and comments! I will study all the info that you gave me.

      Best regards,

      Andrés
    • cdavis411's Avatar
    • cdavis411
    • Preeminent Rocketeer
    • Posts: 17787
    • Thanks: 882

    Re: SOLVED How to modify header color in gantry framework

    Posted 10 years 10 months ago
    • body .gf-menu li:hover, .gf-menu .dropdown ul li:hover .item {background: red;box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset;}
      body .gf-menu li:hover > .item {color: #FFFF88 !important;}

      yes you should do your k2 overrides in the custom css file as well.
    • Andres's Avatar
    • Andres
    • Rocketeer
    • Posts: 96
    • Thanks: 0

    Re: SOLVED How to modify header color in gantry framework

    Posted 10 years 10 months ago
    • Thank you very much!!

Time to create page: 0.068 seconds