Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

Text wrapping in main menu
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Text wrapping in main menu

Text wrapping in main menu 7 years, 1 month ago #31985

Hi

The name of my menus is long as a result these menus names are not fit inside main menu bar.
The main menu bar is getting bigger and become in 2 lines
I solve this problem putting
#yt_mainmenu {
// white-space: nowrap;
in the template css

How can I wrap the words
Now is like this --> prnt.sc/edkavb

An I want to make it like this --> prnt.sc/edkbdy (forget the different color)

How can I do this?
Last Edit: 7 years ago by zakgr.

Re: Text wrapping in main menu 7 years ago #32003

Why you are not answering?

Re: Text wrapping in main menu 7 years ago #32023

?
Last Edit: 7 years ago by zakgr.

Re: Text wrapping in main menu 7 years ago #32078

  • thuygtn
Dear sir,

Please go to the file /templates/sj_revo/css/template-red.css and find:
#meganavigator li.level1 >.item-link {
margin: 0;
padding: 0 20px;
color: #fff;
display: block;
cursor: pointer;
text-transform: uppercase;
position: relative;
z-index: 2;
font-weight: bold;
}
=> Edit to:
#meganavigator li.level1 >.item-link {
margin: 0;
padding: 0 10px;
color: #fff;
display: block;
cursor: pointer;
text-transform: uppercase;
position: relative;
z-index: 2;
font-weight: bold;
}

Thanks

Re: Text wrapping in main menu 7 years ago #32087

Hi

With this way you are just making some more spapce. The name of every category is not wrapping like the screen shots I made for you

For example
I want to make it

house
furniture

and not

house furniture

Re: Text wrapping in main menu 7 years ago #32122

Dear zakgr

Please go to the file /templates/sj_revo/css/template-red.css and add the css at the end of this file:

#meganavigator li.level1 >.item-link{
padding:0 5px;
}

then the result: prntscr.com/ehpn4w

thanks
  • Page:
  • 1
Time to create page: 0.23 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes