Post by MrStuky » Fri Mar 15, 2013 2:23 am

So i'm trying to customize my navbar and Im using the following css code.

Code: Select all

#menu {
 
        background:url("http://website.com/images/store_navbar.png"); 
        background-position:left top;
	no-repeat 0 0; 
	height:90px; 
	z-index: 1; 
	width: 1320px;
}

But I can't seem to align the menu in the background. (inside red brackets to the blue line) Also, how can I change the size of each tab to size of the new background image?.

Thanks in advance!

Attachments

fix_navbar.png

fix_navbar.png (380.92 KiB) Viewed 1220 times


Newbie

Posts

Joined
Wed May 09, 2012 6:36 am

Post by zuhenry » Sat Mar 16, 2013 5:49 am

Hello,

We probably could help you better if you shows your website, what is the link?

zh

Our latest page: http://www.paginas.in
http://www.macClasificados.com - Encuentra tu Apple PC mas barato, sin intermediarios


Active Member

Posts

Joined
Fri Sep 09, 2011 9:54 pm
Location - Colombia

Post by MrStuky » Tue Mar 26, 2013 5:13 am

Sorry here it is.

http://order.panticakes.com/

I was playing with the coding so If someone can please help, thanks!

Newbie

Posts

Joined
Wed May 09, 2012 6:36 am

Post by Xyph3r » Tue Mar 26, 2013 6:40 am

try this

#menu {
background: url("../images/store_navbar.png") no-repeat transparent;
height: 90px;
width: 980px;
z-index: 1;
}
#menu ul {
left: 65px;
list-style: none outside none;
margin: 0px;
padding: 0px;
position: relative;
top: 15px;
}

ImageImageImage
Opencart Templates, Modules, Themes & Custom Development | ShopThemer


User avatar
Active Member

Posts

Joined
Sun Feb 10, 2013 1:08 am


Post by butte » Thu Mar 28, 2013 9:16 am

Additionally,

(1) If (e.g., in current Firefox) you hit Control- three times so as to unzoom enough to see the entirety, it's all right-shifted as it stands (probably still without his suggestion having been tried).

(2) The "relative" and "absolute" positioning commands, and the layering commands, differ among browsers, notably as to (surprise) IE and as to its versions and various proprietary spinoffs which have their own quirks (e.g., AOL). Which browser are you already routinely using? You'll probably want to look at your changes in at least two browsers.

(3) Accordingly, add to his suggestions resizing, repositioning, etc., the "container" or any other governing "class" items, in concert. It may take a while to make it settle down as you want it to appear, but it's doable.

(4) Make backups beforehand of whatever files you amend.

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by MrStuky » Sat Mar 30, 2013 1:52 am

Worked great on IE FF and GC!

Thanks

Newbie

Posts

Joined
Wed May 09, 2012 6:36 am

Post by butte » Sat Mar 30, 2013 2:18 am

Please mark it Solved . . .

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am
Who is online

Users browsing this forum: No registered users and 16 guests