Secondary Links on Ubercart.org

5 replies [Last post]
Joined: 01/15/2009
Juice: 38

Ubercart team,

I have an unusual request. I've installed Ubercart (love the functionality) and noticed while I was on the ubercart.org site reading documentation that you are using the same Drupal template that I am - Pixture Reloaded, I think. If so, can you give me some general direction to how you redesigned the secondary links to display horizontally in the footer and also display on right side of the menu bar? I'm just learning my way around the style sheets but it gets a bit confusing for me using a theme that allows color changes.

I know its a strange request. I've been reading in the forums on drupal.org but you've done exactly what I'd like to do (even down to changing the menu bar color). I'll understand if its not in the scope of these Ubercart forums to address.

Thank you,

snepa

Joined: 08/07/2007
Juice: 15046

I've bookmarked the post to try and answer your questions in full, but the short answers are that the links in the footer were just added in w/ HTML in our site information settings and the links on the right in the header bar were added into page.tpl.php. Smiling

As for changing the color of that bar, that's what the follow-up post will be.

Joined: 01/15/2009
Juice: 38

Ryan,

Added the html code in the information settings. Clever and simple. Thanks.

I'm not knowledgeable enough to tackle the php and css issues yet. Though it hasn't stopped me from trying!

I'll await your follow up post. No rush.

'preciate your help.

Stephen

Joined: 08/07/2007
Juice: 15046

So... I looked into the theme, and at a glance I can't really remember what all I did to change the color of the links bar. Eye-wink It involved changing pixture/color/color.inc It looks like I added in the uc-bg-header.png file that was modified to use the color I wanted and altered the style.css to make sure my custom .png was the one used in the header. It took some trial and error, but I basically had to make sure the color module was copying my custom .png into the temporary directory it creates for the theme in the site's files directory. I just added it to the appropriate array in that color.inc file. Good luck! Cool

Joined: 01/15/2009
Juice: 38

Ryan,

Your information about the color.inc file is helping put the final pieces together.

If you have a minute let me know what you think - www.kilboa.com (we have the store links hidden until our product is loaded).

Thank you for taking the time to recall and explain how you pulled it off.

Stephen

Joined: 08/07/2007
Juice: 15046

Awesome job! I couldn't tell if that was really Pixture at first till I looked closer at the block styling. Great work. Smiling

Only problem I saw was the OpenID thing where the logo appears behind some text... but I see that on every Drupal site, so I wonder if it's a known issue in core that'll be fixed. Puzzled