-
AuthorPosts
-
May 29, 2015 at 3:50 am #451509
Hello,
I thought this was fixed (see this https://kriesi.at/support/topic/centered-large-logo-not-working-on-mobile/#post-451376) but when I fixed the mobile with this code:
.responsive .logo img { margin-left: 20%; }It broke on the desktop view. The log shifted to the right and was then cut off.
Here is the entire Quick CSS code as it is now.
/* positions menu -secondary*/
nav.sub_menu {
left: -30% !important;
position: relative;
}
/* Centers logo and leaves it bigger size*/
.html_header_top.html_logo_center .logo {
left: 28%;
-webkit-transform: none;
-ms-transform: none;
transform: none;
}
@media only screen and (min-width: 990px) {
#header_main>.container {
padding: 0px;
top: -215px;
}}
.inner-container {
top: 210px;
}
/* Font size of body*/
body {
font-size: 15px;
}
/* Turns off the auto capitalization*/
h1,h2,h4,h5,h6{
text-transform: none !important;
}
/* Header displaying correctly on Tablets*/
@media only screen and (max-width: 989px) and (min-width: 768px) {
.responsive .mobile_menu_tablet .main_menu {
display: block;
}
.main_menu {
margin-right: -30px;
}
.main_menu ul:first-child > li > a {
font-size: 10px;
}
.logo img {
width: 250px !important;
}
}May 31, 2015 at 3:50 am #452107Hi Lynn!
Try adding this:
.html_header_top.html_logo_center .logo { display: inline-block; float: none; position: relative; } .html_header_top.html_logo_center { text-align: center; }
Cheers!
JosueJune 3, 2015 at 1:34 pm #453730Thanks Josue, but that didn’t work.
LynnJune 4, 2015 at 1:20 am #454162Hi Lynn!
Try with this instead:
.html_header_top.html_logo_center .logo { display: inline-block; float: none; position: relative; left: auto; transform: none; -webkit-transform: none; -moz-transform: none; } .html_header_top.html_logo_center { text-align: center; }
Best regards,
JosueJune 5, 2015 at 9:54 pm #455316No that didn’t work either, Josue. Wouldn’t it need a @media query?
Sorry, I’m no good at troubleshooting this stuff.
-LynnJune 6, 2015 at 1:16 pm #455478 -
AuthorPosts
- You must be logged in to reply to this topic.