0
Welcome Guest! Login
0 items Join Now

Menu Color in Gantry

    • PixelTech's Avatar
    • PixelTech
    • Jr. Rocketeer
    • Posts: 39
    • Thanks: 0

    Menu Color in Gantry

    Posted 13 years 2 months ago
    • I'm using Gantry for my framework using a custom design. I want the background behind the Fusion menu set in the Navigation position to be a particular color or image. Editing the CSS won't give me results since I believe the Gantry styles are overwriting it. It appears to be that the color for the footer is the same for the menu. I need the footer in white and the menu in red.

      I also tried using the RokNav and after installing it, I could not find it anywhere.

      I saw some other posts but the solutions did not help me and some of the instructions from the Gantry site for changing the color chooser like at this link ( www.gantry-framework.org/documentation/j...-controlled-elements ) describe files to be edited that I don't have. I updated Gantry thinking that may be an issue and that erased 2 days worth of CSS changes that I had done.

      I could use some help, please.
    • Cliff Pfeifer's Avatar
    • Cliff Pfeifer
    • Preeminent Rocketeer
    • Posts: 8444
    • Thanks: 20
    • Website Developer

    Re: Menu Color in Gantry

    Posted 13 years 2 months ago
    • Hi, the footer color changer in the template settings is linked to the footer, copyright and menu sections. To change that, what you'll need to do is go into the Gantry plugin folder - it's in the plugins folder in 1.5 and the libraries folder in 1.7. In that folder, open the features folder and find styledeclaration.php. Copy this file into the features folder of your template, this overrides the original file and you don't want to make changes to the core files.

      Once it's there, open it up and find
      $css .= '#rt-footer .rt-container, #rt-copyright .rt-container, #rt-menu .rt-container {background:'.$gantry->get('footercolor').';}';

      Remove #rt-menu .rt-container from the code and the comma that is right before it. That will disconnect it from the template color chooser and you can then apply styling via CSS. Hope that helps.
    • The difficult we do immediately, the impossible takes a little longer.
    • PixelTech's Avatar
    • PixelTech
    • Jr. Rocketeer
    • Posts: 39
    • Thanks: 0

    Re: Menu Color in Gantry

    Posted 13 years 2 months ago
    • That was what I needed!

      Thanks!
    • Cliff Pfeifer's Avatar
    • Cliff Pfeifer
    • Preeminent Rocketeer
    • Posts: 8444
    • Thanks: 20
    • Website Developer

    Re: Menu Color in Gantry

    Posted 13 years 2 months ago
    • Glad to help :D
    • The difficult we do immediately, the impossible takes a little longer.
    • miquael's Avatar
    • miquael
    • Jr. Rocketeer
    • Posts: 33
    • Thanks: 0

    Re: Menu Color in Gantry

    Posted 12 years 7 months ago
    • hmmm. I've not been able to find: styledeclaration.php ?
      I'm using Gantry 1.23 for WordPress.
    • Cliff Pfeifer's Avatar
    • Cliff Pfeifer
    • Preeminent Rocketeer
    • Posts: 8444
    • Thanks: 20
    • Website Developer

    Re: Menu Color in Gantry

    Posted 12 years 7 months ago
    • Hi, this thread was for Joomla, so it's going to be in a different location for Wordpress.

      In your theme directory find the gizmos folder, it's in there. If it's not, you'll need to go in to the Gantry plugin folder and copy it from the gizmos folder there to the gizmos folder in your theme.
    • The difficult we do immediately, the impossible takes a little longer.
    • miquael's Avatar
    • miquael
    • Jr. Rocketeer
    • Posts: 33
    • Thanks: 0

    Re: Menu Color in Gantry

    Posted 12 years 7 months ago
    • Yes, that works for WordPress! Thank you! :arrow: :cheesy: :arrowl:

Time to create page: 0.087 seconds