- This topic has 9 replies, 3 voices, and was last updated 8 years, 10 months ago by Theme Horse Support Team.
-
AuthorPosts
-
December 17, 2015 at 4:15 pm #40507Lee AnnParticipant
This is great! How do we get the sub-menu to be lower as well? Thanks!
December 21, 2015 at 11:08 am #40585Theme Horse Support TeamKeymasterHi Lee Ann,
Sorry! What you are trying to say? Can you please clarify it more?
Thank you!
January 4, 2016 at 7:07 pm #40965Lee AnnParticipantI was responding to the original post: https://www.themehorse.com/support-forum/topic/change-height-of-primary-menu-container/
I entered your code to change the height of the primary horizontal menu.
#access a {
height: 45px;
padding-top: 25px;
}
.search-toggle {
margin-top: 25px;
}
#site-logo {
margin-top: 18px;
}
#access ul li ul {
top: 70px;
}
@media only screen and (max-width: 767px) {
#site-logo {
margin: 10px 0;
}
.menu-toggle {
margin-top: 17px;
}
}BUT – now the mobile menu is super spaced out. How can I fix this? Here is all of the Custom CSS I have:
#access a {
height: 45px;
padding-top: 95px;
}
.search-toggle {
margin-top: 25px;
padding-top: 70px;
}
#site-logo {
margin-top: 18px;
}
#access ul li ul {
top: 70px;
}
@media only screen and (max-width: 767px) {
#site-logo {
margin: 10px 0;
}
.menu-toggle {
margin-top: 17px;
}
}
#access ul li ul {
top: 120px;
}
hr{
padding: 5px;
margin: 0px;
margin-top:-1em;
}January 6, 2016 at 6:38 am #41022Theme Horse Support TeamKeymasterHi Lee,
Please go to the Appearance > Customizing > Layout Options > Responsive Layout and ON the responsive layout and just paste the below code in custom CSS and remove your all code:
#access a { height: 45px; padding-top: 25px; } .search-toggle { margin-top: 25px; } #site-logo { margin-top: 18px; } #access ul li ul { top: 70px; } @media only screen and (max-width: 767px) { #site-logo { margin: 10px 0; } .menu-toggle { margin-top: 17px; } }
Thank you!
January 6, 2016 at 1:59 pm #41047Lee AnnParticipantThank you for your response, however, this does not fix my problem. The reason I have that code the way it is, is because we don’t want our menu at the top of the page, we want it closer to the line and the sub-menu items to show up right below the menu items when hovered over, which is what I did. The problem is that it is messing up the spacing on the (already turned on) responsive design on a phone. Is there a way to just fix the CSS for the phone?
Thank you!
January 8, 2016 at 8:37 am #41117Theme Horse Support TeamKeymasterHi Lee,
Could you please provide us the site URL? So that we can see your site in mobile devices and provide you a exact CSS code.
Thank you!
January 8, 2016 at 1:56 pm #41130Lee AnnParticipantJanuary 12, 2016 at 10:39 am #41239Theme Horse Support TeamKeymasterHi Lee,
Thank you for the site URL.
Edit your custom CSS accordingly to the below one:#access a { height: 81px; padding-top: 65px; } .search-toggle { margin-top: 25px; } #search-box { top: 100px; } @media only screen and (max-width: 767px) { .menu-toggle { margin-top: 57px; } #access a { float: none; padding: 10px 0; height: inherit; } }
Thank you!
January 12, 2016 at 3:52 pm #41255Lee AnnParticipantFrom that I updated some of the code and it has been fixed. Thank you!!
January 13, 2016 at 8:31 am #41279Theme Horse Support TeamKeymasterThat’s great Lee Ann
Thank you!
-
AuthorPosts
- You must be logged in to reply to this topic.