This topic has 24 replies, 4 voices, and was last updated 10 years, 3 months ago ago by Eva Kemp
Hi there,
Just wanted to trim down my sub menu items, how do I change the height / spacing of each box for sub menu items?
Also colors and hover options?
Cheers!
Hello,
To change background color for sub items you need add this code into custom.css file:
.main-nav .menu > li .nav-sublist-dropdown .container > ul > li a {
background-color: blue;
}
.main-nav .menu > li .nav-sublist-dropdown .container > ul > li a:hover {
background-color: red;
}
Change the color value to yours.
To change height please use this code:
.main-nav .menu > li .nav-sublist-dropdown .container > ul .menu-item-has-children {
height: 50px;
}
Also change the value to yours.
Regards,
Eva Kemp.
Ok that worked.
How about the second to 4th level submenus ?
Also, how to make sure that the text will have even margins on top and bottom of the box?
Thanks
Hello,
To have margins you can use this code:
.main-nav .menu > li .nav-sublist-dropdown .container > ul .menu-item-has-children {
margin-top: 10px;
margin-bottom: 10px;
}
Just change the values.
Please clarify your question regarding “second to 4th level submenus”.
Thank you.
Regards,
Eva Kemp.
If you’ll notice on my submenus under Products – Brands – and so fort the height of the boxes differ from the 1st level submenus
Please visit : http://www.rasterizedesigns.com/demos/motoworld/ and then hover over products – brands – Brands A-H – LS2
The height of the boxes are different 🙂
Please try to use this code:
.main-nav .menu > li .nav-sublist-dropdown .container > ul .menu-item-has-children .nav-sublist li {
height: 40px;
}
Regards,
Eva Kemp.
That worked well for the height of the boxes, but adding the margin code also affects the boxes. So I tried padding, didn’t work with me.
Please try visiting the link again and hover the products link 🙂
http://www.rasterizedesigns.com/demos/motoworld/
I’ve added the following code into custom.css file:
.main-nav .menu > li .nav-sublist-dropdown .container > ul > li a {
padding-top: 5px;
padding-bottom: 5px;
}
Please check the menu now.
Regards,
Eva Kemp.
Awesome!
Thanks so much 🙂
Ok one more thing, on the contact page template, how do remove the page heading?
Tried to remove on the page heading option but no go.
http://www.rasterizedesigns.com/demos/motoworld/?page_id=147
Hello,
You need add this code in custom.css:
.page-heading h1 {
display: none;
}
Please note the title will be removed from all pages, not only on Contact page.
Regards,
Eva Kemp.
That’s fine 🙂
Also need to adjust the boxes on the navigation of the sticky menu (when you scroll down), just like what I have now in the standard menu?
Plus, when using chrome I noticed the arrow sign or “>” for submenus is gone while in firefox its still there. Bug perhaps?
Thanks for the awesome support!
Hello,
Please use this code for fixed header manu:
.fixed-header .menu > li .nav-sublist-dropdown .container > ul > li a {
height: 40px;
padding-top: 7px;
}
Regards,
Eva Kemp.
Perfect!
Done with that site, now if you don’t mind. Here’s another one.
How do you trim the height of the header? What I’m doing right now is applying a negative margin on my rev. slider to push it up.
Here’s the css im using
.header-wrapper.header-type-4 {max-width:none; margin:-30px;}
and the link is on the private content
Could you please clarify?
Are you trying to change the height of the header?
Thank you.
Regards,
Eva Kemp.
Yes. Trying to make it as tight as possible.
Thank you!
Hello,
Please remove the code which you have added and add the following code into the custom.css:
.header-type-4 .main-nav .double-border {
padding: 0;
}
Regards,
Jack Richardson
That worked perfectly.
Ok. How about setting the height of the parallax image ?
link in Private content
Thanks
Hello,
Put this code into custom.css file.
.page-content .parallax-section {
height:350px;
}
Regards,
Robert Hall.
Fixed!
I apologize but just ironing some bugs.
I noticed that my logo isn’t centerting correctly when used on a smartphone?
and how to center content for say single images using virtual composer?
Hello,
Try to put this code into custom.css file to fix issue on smartphone.
.top-cart-disabled .logo {
width: auto !important;
}
Please, provide us with link to this page where need centered content for say single images using virtual composer.
Regards,
Robert Hall.
Worked again! Awesome!
For the centering thing, I wanted to use 1 column or 2 then make sure they are centered within that column
Hello,
As I see the page is using an image as a template: http://www.sinski.com.ph/ver2/wp-content/uploads/2014/08/kim6.jpg and unfortunately 2 images at the bottom can’t be moved because they are part of the whole image.
Regards,
Eva Kemp.
You must be logged in to reply to this topic.Log in/Sign up