This topic has 35 replies, 4 voices, and was last updated 8 years, 10 months ago ago by Jack Richardson
Hi,
Are you able to advise what css modifications could be made to increase the width of the columns in the full width menu? I am using this css definition in the main menu item: menu-full-width menu-column3
Some of the menu items are quite long and therefore wrapping – so it would be ideal if the width of the columns could be increased.
Thanks for your help.
Hello,
Please provide us with link to the page and wp-admin access in Private Content.
Regards,
Robert Hall.
Thanks Robert – the site is not on a public facing server yet, I’ll drop you a link when it is.
Regards
David
Hello,
Ok, we’re looking forward to your reply.
Thank you.
Regards,
Eva Kemp.
Hi,
OK, site is now in a public area. Details in private area.
I would like the columns of the BRANDS menu to be wider so that the names aren’t wrapping.
Thanks for your help.
Hello,
Try to add this code in style.css file of your child theme:
.menu-column3 .nav-sublist-dropdown ul li:nth-child(3n+1) {
margin-right: 50px !important;
}
How to create custom.css you can watch in this tutorial (it’s for Legenda theme but the process is the same).
Regards,
Eva Kemp.
Hi – added that CSS to my child-theme CSS – but no different unfortunately.
Hello,
I’ve added the code in style.css of the child theme.
Please clear browser cache and check Brands drop down menu http://www.maidens.livingdigitally.co.uk/wordpress/ .
Regards,
Eva Kemp.
Hi Eva,
Thanks for this. Unfortunately, despite clearing caches and trying different web browsers, I am not seeing any difference in the Brands drop down…. ? Are you able to produce / see a menu in which the columns are wide enough so the long names don’t wrap?
Thanks
David
Hello,
Please view the screenshot:
http://storage2.static.itmages.com/i/15/0602/h_1433271447_1620090_ca91dc4031.png
Is columns size not changed?
They were more narrow than they are now.
Regards,
Eva Kemp.
Hi Eva,
They look the same as my local copy which doesn’t have the changes – see screenshot:
The client would like it so that none of the brand names wrap – there are 3 which are wrapping currently and they are quite long, so the columns need to be quite a bit wider.
Thanks for your help.
Hello,
Try to add this code in style.css of your child theme:
.menu-column3.with-image .nav-sublist-dropdown {
width: 900px !important;
}
.menu-column3.with-image .nav-sublist-dropdown ul > li {
width: 200px !important;
}
Regards,
Eva Kemp.
Hi Eva,
The good news is that those changes have the desired effect 🙂
The bad news is that putting the .menu-column3.with-image .nav-sublist-dropdown modification in the child style.css file has no effect because it is overridden by the value in responsive.css (see attached image). If I edit the value directly in responsive.css the menu is perfect – but this would then mean that any theme updates would overwrite these changes. Any thoughts on how to overcome that?
Thanks
David
Hello,
In this case try to use the code this way:
@media only screen and (min-width: 980px) {
.menu-column3.with-image .nav-sublist-dropdown {
width: 900px !important;
}}
.menu-column3.with-image .nav-sublist-dropdown ul > li {
width: 200px !important;
}
Regards,
Eva Kemp.
I understand your thinking there Eva, unfortunately that makes no difference either 🙁 Its as thought the responsive.css code is taking precedence.
Hello,
I’ve added additional class for Brands menu item in Appearance > Menus and edited the css code in child theme style.css:
@media only screen and (min-width: 980px) {
.menu-column3.with-image.custom_drop_down .nav-sublist-dropdown {
width: 900px !important;
}}
.menu-column3.with-image .nav-sublist-dropdown ul > li {
width: 200px !important;
}
Please clear browser cache and check your site.
Best regards,
Jack Richardson.
Perfect ! Thank you.
I have another couple of items where the theme doesn’t appear to be behaving correctly – shall I raise them here or would you prefer me to start a new thread?
Many thanks
David
Hello,
You can write additional queries in this topic.
Regards,
Eva Kemp.
Thanks Eva.
When viewing a product – clicking on the tabs beneath the product image (e.g. additional information, reviews etc.) doesn’t work.
e.g. http://www.maidens.livingdigitally.co.uk/wordpress/product/asha-black-low-back-top/
When viewing a product archive (e.g. http://www.maidens.livingdigitally.co.uk/wordpress/product-category/brands/2nd-day/) and the Product Hover Image setting is set to SWAP – nothing happens. The image slider option works perfectly however.
Many thanks for your help.
Hello,
Please provide us with FTP credentials (FTP host, FTP user, FTP password) in private content.
Best regards,
Jack Richardson.
You must be logged in to reply to this topic.Log in/Sign up