I am using the Footheme to create my first Drupal website. I have several things that I am struggling with. My site is devrnc.easelinspirations.com

1. I have created four links on the main menu. Only two show the current page tab with the page background color. I would like the HOME and the CALENDAR link show the page bg color not the background color of the menu bar.

2. After making some changes to Footheme and I decided to rename it to reflect the site I am working on. However once I did that the custom colors that I had themed when it was called Footheme did not carry over to the renamed theme. How do I get them to work in the renamed Footheme? In what directory are the Footheme's custom colors stored?

I would very much appreciate help with these things.

Thank you.

Comments

Jeff Burnz’s picture

Title: Footheme Main Menu tabs and colors.css » Remove child selector for menu tabs in colors.css
Version: 7.x-2.0 » 7.x-2.x-dev
Assigned: Loube » Jeff Burnz
Category: support » bug

In colors.css replace lines 73 to 81 with this, it should work, I have made a typo and will commit a fix once you can confirm this is working.

#menu-bar ul > li.active-trail > a,
#menu-bar ul > li.active-trail > a:hover,
#menu-bar ul > li.active-trail > a:focus,
#menu-bar ul > li > a.active,
#menu-bar ul > li > a.active:hover,
#menu-bar ul > li > a.active:focus {
  color: #2e2e2d;
  background-color: #f8f8f8;
}
Loube’s picture

Hi Jeff,

Thank you for your response.

I replaced the lines with your above text and some progress was made. Now the Home link shows properly with #f8f8f8 as the bg, however the Calendar link does not show #f8f8f8, but still #2e2e2d.

(The lines in my colors.css file were 72 to 80.)

Jeff Burnz’s picture

The calendar link is not getting the .active class applied to it, I assume this might be because you have used an absolute URL and with a fragment also, I am not very familiar with this module - you may need to ask or search in that modules issue queue how to link to it to force the active class to be applied, or could be a Superfish issue but I highly doubt it, more likely to be a simple case of Drupal not having a clue this link is meant to be active.

You might want to try adding the link to the menu from within the View (edit the view and add a menu link), instead of hard coding a link using the absolute path in the menu settings.

Loube’s picture

As you suggested, I edited the url under menu>list links. I changed it from an absolute to an relative url and that worked. Thank you very much. I am very appreciative of your help.

May I ask you for your expertise on the above question 2 in my opening issue summary. I don't know why the custom colors that I had applied before changing the name didn't carry over when I renamed footheme. I changed the directory name, .info file, and the template.php as directed to reflect the changed name. Is there something else I should do as well? The renamed theme seems to be fine otherwise.