![]() |
Two Questions - Speed Bar & Menu Titles
This is my test store where I'm working on a new theme for the future opening of my 4.2 xcart. http://teststore.hortonstores.com/home.php?shopkey=showme
Currently I've got two little things I'm hung up on... #1 I want my speed bar to go across the center section (you can probably see what I was trying to do) but it's wrapping oddly and some of the links won't change color when hovered over. Any help figuring out what I did wrong there is GREATLY appreciated. What I did was comment out the speedbar in head.tpl and went into home.tpl (in the customer subfolder of the skin1 folder) and added the speedbar as the first part of the center section. #2 The titles on my menu boxes, any clue how I can adjust the css to make the words center on my oval graphics? Thanks for your help and advice! |
Re: Two Questions - Speed Bar & Menu Titles
bump
|
Re: Two Questions - Speed Bar & Menu Titles
to center the titles find this in your skin1.css
.VertMenuTitle and add text-align:center; as for the other could you post your code for home.tpl? it seem like the tabs that are not changing colors are not links. |
Re: Two Questions - Speed Bar & Menu Titles
Since .VertMenuTitle doesn't exist in the skin1/main.css (which is the css sheet for the 4.2 version of xcart gold) I'm assuming this is the following string of code it would belong in?
Code:
/* Unfortunately adding that makes it look like this: http://teststore.hortonstores.com/screenshot1.jpg As for my home.tpl code here it is, I've highlighted my speed bar code for you to find more easily: Code:
{* Thank you for your help Ashley! |
Re: Two Questions - Speed Bar & Menu Titles
Into the main.css:
#1 .tabs a:link, .tabs a:visited, .tabs a:hover, .tabs a:active {padding:5px 0 5px 5px;} (As there is not enough space to float all the items, so some of them go below) #2 .menu-dialog .title-bar img.icon{display:none} .menu-dialog .title-bar {text-align:center} (You probably removed icons, but they are still consume space in the title when alligning as their holders preserve their width ) |
Re: Two Questions - Speed Bar & Menu Titles
You rock my world Victor, thank you VERY much! :D/ #2 works great but I'm still having some troubles with the tabs... it's a start though!
*big hugs & virtual caffeinated beverages sent your way* |
Re: Two Questions - Speed Bar & Menu Titles
This is the tabs section of main.css
Code:
/* header tabs */ should your suggested code replace the red section (above) or be added in addition too the existing code? I added it in addition to and the links appeared but I did lose the tab appearance... which, if I understand what you're saying correctly, is expected because there just isn't room for it there. What I can't figure out (cause it seems to me this should be able to work) is why the breadcrumbs can't be pushed down so the speed bar goes across above it. Am I just failing to understand how this works and it's impossible? |
Re: Two Questions - Speed Bar & Menu Titles
Okay, I got it to fit now to get the links to work, LOL
Here's how I got it to fit: Code:
/* header tabs */ Thoughts on the failure of the links to function? :?: |
Re: Two Questions - Speed Bar & Menu Titles
Yes, you just had to decrease the horizontal paddings values a bit.
for the rules below you should change the value if there is any. Do not move the breadcrumbs with 'br' tag just add some margin above it like this: #location{ margin-top:15px; } also your .tabs are have absolute position for speedbar, that's why it messes with breadcrumbs so change from absolute to relative: .tabs {position:relative;width:100%} (the width was set to 80% so the tabs were not across the whole center column area ) The third line of your header is empty but is still has a height of 39px. So you should also change height to 0 for links to work properly #header .line3{ height:0px } |
Re: Two Questions - Speed Bar & Menu Titles
Hmmm, I applied the three things you mentioned and the only one that seemed to change anything was the location margin and it gave me the following error:
Quote:
The other two things don't seem to have done anything. I did a cleanup on the template cache to make sure it wasn't just an issue with the template refreshing and showing up correctly. Below is snips of the code to show you how I applied your suggestions. HOME.TPL Code:
{* MAIN.CSS Code:
/* header line 3 */ Code:
/* header tabs */ |
All times are GMT -8. The time now is 07:24 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.