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

How to Change Primary Menu

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 11-10-2015, 11:46 AM
 
gcrawford gcrawford is offline
    
Join Date: Nov 2015
Posts: 2
 

Default How to Change Primary Menu

I am currently working on a site using X-Cart 5's Noblesse template.

My issue is that I have some rather long words in the menu, and would like to modify the text size in order for the menu to fit on one line (or perhaps make it a side menu).

Any idea where I can do that?
__________________
5.2.6
Reply With Quote
  #2  
Old 11-11-2015, 01:42 AM
  razortw's Avatar 
razortw razortw is offline
 

X-Cart team
  
Join Date: Feb 2015
Posts: 807
 

Default Re: How to Change Primary Menu

Quote:
Originally Posted by gcrawford
I am currently working on a site using X-Cart 5's Noblesse template.

My issue is that I have some rather long words in the menu, and would like to modify the text size in order for the menu to fit on one line (or perhaps make it a side menu).

Any idea where I can do that?
Hi.
You can do that using CSS by adding the respective code to the 'Look & Feel' > 'Custom CSS' section in your admin area.
__________________
Best regards,
Igor Pudovkin
X-Cart hosting team
Reply With Quote
  #3  
Old 11-11-2015, 05:45 AM
 
gcrawford gcrawford is offline
    
Join Date: Nov 2015
Posts: 2
 

Default Re: How to Change Primary Menu

Thank you for your quick reply. I found the CSS to edit from your post, but putting in the font size didn't change anything. Here's the code - I added "font-sizex-small" in 3 locations, and none of them made any difference:

/**
* Top menu main block styling
*/
.navbar-inverse {
background-color: #44596f;
border-color: #44596f;
font-sizex-small;
}

.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
color: #ffffff;
background-color: #44596f;
font-sizex-small;
}

.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > .active > a:focus {
color: #ffffff;
background-color: #44596f;
font-sizex-small;
}

/**
__________________
5.2.6
Reply With Quote
  #4  
Old 11-11-2015, 08:12 PM
 
gcrawford gcrawford is offline
    
Join Date: Nov 2015
Posts: 2
 

Default Re: How to Change Primary Menu

Thanks for the reply, Igor.

I went into the "Custom CSS" area and tried to change the font size of the menu, but it didn't work. Any idea why? I added the "font-sizex-small" in all 3 locations below. Here's the code:

/**
* Top menu main block styling
*/
.navbar-inverse {
background-color: #44596f;
border-color: #44596f;
font-sizex-small;
}

.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
color: #ffffff;
background-color: #44596f;
font-sizex-small;
}

.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > .active > a:focus {
color: #ffffff;
background-color: #44596f;
font-sizex-small;
}

/**
__________________
5.2.6
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may 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:08 PM.

   

 
X-Cart forums © 2001-2020