badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

How to change max-width for responsive menu toggle?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #24099
    AlicePh
    Participant

    Hello!

    Om my site http://ny.elteleteknik.se/ i would like to change then responsive menu toggles. I don’t like then it shows i two rows on ipad and ipad mini. So if i change then responsive menu toggles would it look better?

    i tried to change @media only screen and (max-width: 767px) to 1024, but it didn’t work.

    Thank you!

    #24171

    Hi AlicePH,

    To have the responsive menu toggles in tablet Go to Appearance -> Theme Options -> Design Options Tab -> Custom CSS paste the following CSS code and Click on save all changes button:

    @media only screen and (max-width: 1078px) {
    #site-logo {
    	margin-bottom: 32px;
    }
    .hgroup-right {
    	padding-right: 0;
    }
    .search-toggle {
    	display: none;
    }
    .menu-toggle {
    	display: block;
    	background-color: rgba(0, 0, 0, 0);
    	font-size: 0;
    	border: 0 none;
    	padding: 0;
    	color: #777;
    	width: 30px;
    	height: 21px;
    	float: right;
    	margin-top: 39px;
    	cursor: pointer;
    }
    .menu-toggle:before {
    	display: block;
    	-webkit-font-smoothing: antialiased;
    	-moz-osx-font-smoothing: grayscale;
    	font-size: 25px;
    	line-height: 0;
    	font-family: 'Genericons';
    	vertical-align: top;
    	content: '\f419';
    }
    .hgroup-right {
    	clear: both;
    	float: none;
    }
    .nav-menu {
    	display: none;
    }
    .toggled-on .nav-menu {
    	display: block;
    }
    #access {
    	float: none;
    }
    #access li {
    	position: inherit;
    	width: 100%;
    	border-top: 1px solid rgba(0, 0, 0, 0.1);
    	margin-left: 0;
    }
    #access a {
    	float: none;
    	padding: 10px 0;
    	height: inherit;
    }
    /* Dropdown */
    #access ul li ul,
    #access ul li:hover ul ul,
    #access ul ul li:hover ul ul,
    #access ul ul ul li:hover ul ul,
    #access ul ul ul ul li:hover ul ul {
    	display: block;
    }
    #access ul li ul {
    	position: inherit;
    	top: 0;
    	width: inherit;
    	border: 0 none;
    	-webkit-box-shadow: none;
    	-moz-box-shadow: none;
    	box-shadow: none;
    }
    #access ul li ul li a,
    #access ul li.current-menu-item ul li a,
    #access ul li ul li.current-menu-item a,
    #access ul li.current_page_ancestor ul li a,
    #access ul li.current-menu-ancestor ul li a,
    #access ul li.current_page_item ul li a {
    	padding: 10px 0 10px 15px;
    }
    #access ul li ul li a:hover,
    #access ul li ul li:hover > a,
    #access ul li.current-menu-item ul li a:hover {
    	background-color: inherit;
    }
    #access ul li ul li ul {
    	left: 0;
    	padding-left: 6px;
    	-webkit-box-shadow: none;
    	-moz-box-shadow: none;
    	box-shadow: none;
    }
    }

    Thank you!

    #24237
    AlicePh
    Participant

    Thank you very much!
    Worked fine!

    #24265

    Ok that’s great AlicePh

    Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.