![]() |
Removing Help Background
I've been working on reskinning x-cart to work with our new website which I didn't build in the first place. It's one of those projects that I've come into late and they want things to remain the same.
In any case, I'm new to x-cart and for the life of me I can't figure out how to remove the background of the text for the "Help" menu on the left hand side to match the rest of the Categorie Titles. It's the only Title that has a link attached to it. Here's the URL to see what I mean.... http://www.closertothedream.com/store/home.php Any help would be appreciated. :D |
Try looking at the VertMenuTitle class in skin1.css.
|
Padraic, thanks but I looked into that right away and here's the class items for VertMenuTitle
.VertMenuTitle { BACKGROUND-COLOR: #081589; COLOR: #ffffff; FONT-WEIGHT: bold; FONT-SIZE: 10px; background : url(http://www.closertothedream.com/store/skin1/images/x_c2d_menu_background.jpg); There is nothing here to change to get rid of the block shadow behind the help button. Any other ideas? |
Yes, and if you look at your code, it is calling that style for the word 'Help', which means it is putting a background image not only in the cell, but behind the word as well. Try removing the font tag from around the word 'Help'.
|
Which .tpl file are we talking about? I changed this line...
<FONT class="VertMenuTitle">{$menu_title}</FONT> - to - {$menu_title}</FONT> in the menu.tpl file. That got rid of the bacground but now I want the font color of "Help" to be White not blue. Not sure if this is what you were asking me to do but at least I'm on the right track....I think. |
Looks good to me...did you figure it out?
|
Sort of, In the menu .tpl file I added White color to the link....ie:
I changed.... {$menu_title}</FONT></font> -to- <font color="#FFFFFF">{$menu_title}</FONT></font> In essence I added color directly to the menu item font rather that allowing the skin1.css file to take care of it. Because I think the font color for all text links is Blue according to the css file. Therefore, Unless I spent a day trying to figure out how to add a new class to the css file this was the simplest way. thought? |
Sort of, In the menu .tpl file I added White color to the link....ie:
I changed.... {$menu_title}</FONT></font> -to- <font color="#FFFFFF">{$menu_title}</FONT></font> In essence I added color directly to the menu item font rather that allowing the skin1.css file to take care of it. Because I think the font color for all text links is Blue according to the css file. Therefore, Unless I spent a day trying to figure out how to add a new class to the css file this was the simplest way. thoughts? |
Yep, that is the easy fix. Font tags aren't the best solution, CSS would be a much better way to go. Get yourself a CSS book, as you are going to need it if you continue to work with X-Cart :)
|
I know css well enough and use TopStyle to edit, but it's embedding the css into smarty code that I can't quite figure out yet, especially for just the one "Help" Link.
It would seem that I'd have to figue out a way to separte it from the rest of the links in the smarty code. No? |
All times are GMT -8. The time now is 11:57 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.