Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Menu Border

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-16-2009, 12:29 AM
 
info@mea.li info@mea.li is offline
 

Member
  
Join Date: Apr 2009
Location: Switzerland
Posts: 13
 

Default Menu Border

Hi

We are using standard template artistic tunes from x-cart. Now i want to do some small changes on navigation-box.

For the moment, it's shows only a line on the left side of the navigation-box (see attachement). But i want also that this line is on the right side.

I think this should be the css-code for it now:

.menu-dialog .content {
border: 0px;
padding: 8px 6px 20px 27px;
overflow: hidden;
background: transparent url(images/custom/menu_border.gif) repeat-y left top;
color: #9F2200 !important;

Can anybody help me how i have to change it that it shows also the line on the right side?

Thanks for your help

Regards
Manuel
__________________
X-Cart Gold 4.2.1

Add-on: X-Affiliate
Add-on: X-FancyCategories
Add-on: X-SpecialOffers
Add-on: X-Survey
Add-on: X-AOM (Advanced Order Management)

Newest Added products list by BCS Engineering
X-Cart Multiple Manufacturers v4.x by X-CartMods
Reply With Quote
  #2  
Old 07-16-2009, 12:44 AM
  amy2203's Avatar 
amy2203 amy2203 is offline
 

X-Wizard
  
Join Date: Jul 2004
Location: Watford, UK
Posts: 1,509
 

Default Re: Menu Border

looks like it's an image that only has the line on one side,

background: transparent url(images/custom/menu_border.gif) repeat-y left top;

you could edit this image to suit,
__________________
X-Cart version 5 (Previously 3.5-4)

Previous Versions included
BCSE Reward Points Mod
Altered Cart On Sale Mod
Wordpress Plugin

Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there.

Shout me a Coffee!
Reply With Quote
  #3  
Old 07-16-2009, 12:48 AM
 
info@mea.li info@mea.li is offline
 

Member
  
Join Date: Apr 2009
Location: Switzerland
Posts: 13
 

Default Re: Menu Border

hi amy

this will not work. because it's an image 1px wide 2px high which repeat itself on the left side of the navigation box.

so it's not a good idea to edit the image...

is there no possibility to edit the css-code that this images does same effect on right side of the navigation box?
__________________
X-Cart Gold 4.2.1

Add-on: X-Affiliate
Add-on: X-FancyCategories
Add-on: X-SpecialOffers
Add-on: X-Survey
Add-on: X-AOM (Advanced Order Management)

Newest Added products list by BCS Engineering
X-Cart Multiple Manufacturers v4.x by X-CartMods
Reply With Quote
  #4  
Old 07-16-2009, 12:54 AM
  amy2203's Avatar 
amy2203 amy2203 is offline
 

X-Wizard
  
Join Date: Jul 2004
Location: Watford, UK
Posts: 1,509
 

Default Re: Menu Border

basically, not that I know of, the css is repeating the image downwards as a background image, you cannot assign 2 background images to 1 element.

you could remove the background image, and manually set the element borders:

border-left: 1px solid #ffffff;
border-right: 1px solid #ffffff;

change #ffffff to the colour you want, and remove the line

background: transparent url(images/custom/menu_border.gif) repeat-y left top;
__________________
X-Cart version 5 (Previously 3.5-4)

Previous Versions included
BCSE Reward Points Mod
Altered Cart On Sale Mod
Wordpress Plugin

Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there.

Shout me a Coffee!
Reply With Quote
  #5  
Old 07-16-2009, 01:01 AM
 
info@mea.li info@mea.li is offline
 

Member
  
Join Date: Apr 2009
Location: Switzerland
Posts: 13
 

Default Re: Menu Border

okay, that's also fine, i just want a line on right and left.

and it works perfectly with your answer.

thanks a lot for you help
__________________
X-Cart Gold 4.2.1

Add-on: X-Affiliate
Add-on: X-FancyCategories
Add-on: X-SpecialOffers
Add-on: X-Survey
Add-on: X-AOM (Advanced Order Management)

Newest Added products list by BCS Engineering
X-Cart Multiple Manufacturers v4.x by X-CartMods
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:25 AM.

   

 
X-Cart forums © 2001-2020