-
AuthorPosts
-
November 15, 2014 at 6:32 pm #351844
On this site: kau-hawaii.com/wordpress/
See this image: http://imgur.com/8E13v4dI had to put a background on the menu so it could be seen on the photo backgrounds, but when you use a tablet the menu wraps to another line. I don’t want that to happen. What can I do?
thanks!
November 16, 2014 at 8:44 pm #352142Hey!
Try changing the mobile menu activation setting in Enfold > Header > Mobile Menu.
Best regards,
JosueNovember 16, 2014 at 10:02 pm #352180To what? I have it activated for Smartphones and tablets. What would work when the problem is on the tableT
November 16, 2014 at 11:20 pm #352197Hey!
Try adding this code to the Quick CSS:
@media only screen and (max-width: 1200px) { .main_menu, #header_main_alternate{display:none;} .container #advanced_menu_toggle, #advanced_menu_hide{display:block;} #mobile-advanced{display:block;} }
Change “1200px” by the window width where you want the mobile menu to be activated.
Cheers!
JosueNovember 17, 2014 at 12:15 am #352216This is the custom code I have right now from other support guy:
@media only screen and (max-width: 990px) {
.logo img { max-width: 70%; }
.logo { left: 0!important;
}
}
@media only screen and (max-width: 480px) {
.responsive .logo a, .responsive .logo img {
max-width: 90%;
height: auto !important;
margin-left: 0!important;
margin-top: 10px!important; }
}
@media only screen and (max-width: 767px) {
ul#avia2-menu {
display: none;
}
}The menu also messes up if you increase the desktop screen….menu wraps to a second line. How can we stop this?
November 17, 2014 at 3:25 pm #352450Hey!
Please add following code to Quick CSS
.html_header_top.html_bottom_nav_header .main_menu>div, .html_header_top.html_bottom_nav_header .main_menu ul:first-child { width: 73%; } .av-main-nav > li > a { padding: 0 6px; }
You may need to adjust the values
Best regards,
YigitNovember 17, 2014 at 4:59 pm #352533Sorry but all of this is getting more and more frustrating with the code.:-( Can we clarify this? Here is what I have after I put in your code..
The main menu with the white background is extending all the way across the page and we do not want that. Just enough to hold what is in the menu and we don’t want it to wrap to a second line if someone enlarges the screen.
Thank you@media only screen and (max-width: 990px) {
.logo img { max-width: 70%; }
.logo { left: 0!important;
}
}
@media only screen and (max-width: 480px) {
.responsive .logo a, .responsive .logo img {
max-width: 90%;
height: auto !important;
margin-left: 0!important;
margin-top: 10px!important; }
}
@media only screen and (max-width: 767px) {
ul#avia2-menu {
display: none;
}
}
#top .header_color.av_header_transparency .avia-menu-fx {
background: transparent;
}
#top .header_color.av_header_transparency, #top .header_color.av_header_transparency .phone-info.with_nav span {
color: #000000;
}
.header_color .header_bg, .header_color .main_menu ul ul,.header_color .main_menu .menu ul li a,.header_color .pointer_arrow_wrap .pointer_arrow, .header_color .avia_mega_div,.header_color .av-subnav-menu > li ul,.header_color .av-subnav-menu a {
background-color: rgba(255,255,255,0.3);
}
#top #header_meta a, #top #header_meta ul, #top #header_meta li, #top #header_meta .phone-info {
color: #305c29;
font-size: 12px;
}
.html_header_top.html_bottom_nav_header .main_menu>div, .html_header_top.html_bottom_nav_header .main_menu ul:first-child { width: 73%; }
.av-main-nav > li > a { padding: 0 6px;
}
ul#avia-menu {
background-color: rgba(255,255,255,0.4);
border-radius: 5px;
}
}
div#header_meta {
background-color: rgba(255,255,255,0.5)!important;
}
#top .av_header_transparency #header_meta li {
border-color: rgba(255,255,255,0.25);
font-size: 12px;
}
body {
font-size: 15px;
}
.av_phone_active_right .phone-info {
float: right;
font-size: 12px;
}
#socket .sub_menu_socket {
float: right;
margin: 0;
font-size: 12px;
}
#socket .container {
padding-top: 15px;
padding-bottom: 15px;
font-size: 12px;
}
#footer .widgettitle {
color: #FFFFFF;
font-size: 22px;
}
.main_color .tabcontainer .tab:hover, #top .main_color .tabcontainer .tab.active_tab {
color: #5F8821;
font-size: 15px;
}
.sidebar_tab, .main_color .tabcontainer .tab {
color: #5F8821;
font-size: 15px;
font-weight: bold;
}
div .main_color .tabcontainer .active_tab_content, div .main_color .tabcontainer .active_tab {
background-color: #e1e7d4;
color: #000000;
}
.newsbox .news-thumb{
display: none;
}
#footer strong.news-headline {
font-size: 14px;
color: #ffffff;
}
#footer span.news-time {
font-size: 14px;
color: #ffffff;
}
#socket .menu {
margin-top: 6px;
font-size: 14px;
}
.widget_recent_entries li a {
font-style: italic;
font-family: “Georgia”, “Times New Roman”, Helvetica, Arial, sans-serif;
font-size: 14px;
}November 18, 2014 at 5:02 pm #353061Hey!
There’s an extra closing curly brackets on one of the css declaration:
ul#avia-menu { background-color: rgba(255,255,255,0.4); border-radius: 5px; } }
Remove it then test the page again. And move the css media queries at the bottom of the Quick CSS field.
Best regards,
IsmaelNovember 18, 2014 at 8:04 pm #353212That is the code support gave me.
November 18, 2014 at 10:48 pm #353292Hi,
Can you please create us a WordPress administrator account? we can try to clean up the code.
Regards,
JosueNovember 18, 2014 at 10:51 pm #353298This reply has been marked as private.November 19, 2014 at 6:38 pm #353862Hi!
I cleaned your Quick CSS code. Please review your website now.
Best regards,
YigitNovember 19, 2014 at 7:39 pm #353906Thank you. The only thing I see now is that the main menu background extends past the last menu item. We want it to fit what it there and not extend into an empty area in the menu.
Hope that makes sense.November 20, 2014 at 11:30 am #354203Hey!
I answered your inquiry here: https://kriesi.at/support/topic/table-not-fully-responsive/
Best regards,
IsmaelNovember 22, 2014 at 3:39 pm #355900ALL SET now! THANK YOU. MAHALO! for all of your great assistance. It is truly appreciated.
-
AuthorPosts
- The topic ‘Problem with menu on tablet’ is closed to new replies.