Tagged: mobile settings, responsive, theme customization
-
AuthorPosts
-
June 26, 2020 at 4:22 am #1225708
Hi,
I am working on a website http://bravo.biasprotection.com/gvigroup. I did a lot of customization to make it similar like this site: https://www.arielinvestments.com/. I achieved the design but it is the same view in mobile and tablet. Please help.
June 26, 2020 at 3:37 pm #1225881Hey lbeneby,
The 70px padding added to the html should be added for the big screens only. Like this:
@media only screen and (min-width:1024px){ html, #scroll-top-link { padding: 70px; } }
If you need further assistance please let us know.
Best regards,
VictoriaJune 27, 2020 at 12:37 am #1226006This reply has been marked as private.June 29, 2020 at 2:07 am #1226269Hi lbeneby,
Can you try adding this CSS code as well, it won’t be exactly the same especially with the position of the menu and logo, but it should look a lot better:
@media only screen and (max-width:980px) { html.html_boxed { padding: 0; } #top #header .av-logo-container { width: 100% !important; } .responsive #top #header #header_main .inner-container .widget { width: 50%; } } @media only screen and (max-width:479px) { .responsive #top #header #header_main .inner-container .widget .avia-button { display: block; margin-left: 0 !important; padding: 12px !important; width: 100% !important; } .responsive #top #header #header_main .inner-container .widget br { display: none; } }
Best regards,
NikkoJune 29, 2020 at 3:01 am #1226277This reply has been marked as private.June 29, 2020 at 3:33 am #1226281Hi lbeneby,
It’s possible however it doesn’t look good because of the length of the text: Explore our Services (this would show as 2 lines) while Client Login remains at 1 line.
Best regards,
NikkoJune 29, 2020 at 3:37 am #1226282This reply has been marked as private.June 29, 2020 at 8:14 am #1226319Hi lbeneby,
Please replace this code that I gave:
@media only screen and (max-width:479px) { .responsive #top #header #header_main .inner-container .widget .avia-button { display: block; margin-left: 0 !important; padding: 12px !important; width: 100% !important; } .responsive #top #header #header_main .inner-container .widget br { display: none; } }
with:
@media only screen and (max-width:479px) { .responsive #top #header #header_main .inner-container .widget .avia-button { display: inline-block; margin-left: 0 !important; padding: 12px !important; width: 100% !important; } .responsive #top #header #header_main .inner-container .widget .avia-buttonrow-wrap > .avia-button:first-child { width: 59% !important; } .responsive #top #header #header_main .inner-container .widget .avia-buttonrow-wrap > .avia-button:nth-child(2) { width: 39% !important; } .responsive #top #header #header_main .inner-container .widget br { display: none; } }
Best regards,
NikkoJune 29, 2020 at 8:57 am #1226326This reply has been marked as private.June 29, 2020 at 2:37 pm #1226451Hi lbeneby,
You can take advantage of adding widget to the header: https://kriesi.at/documentation/enfold/header/#adding-a-header-widget-area
Hope it helps :)Best regards,
NikkoJune 30, 2020 at 8:46 am #1226654This reply has been marked as private.June 30, 2020 at 11:03 am #1226685Hi lbeneby,
Please don’t use inline CSS as it’s not a good practice and also bad for responsive versions.
You can use CSS Classes instead and just define the CSS code in Quick CSS.
You can hide the header widget via CSS and not remove it, so we can inspect it and then try to give you CSS code that should properly place it.Best regards,
NikkoJuly 1, 2020 at 3:02 am #1227066This reply has been marked as private.July 1, 2020 at 8:41 am #1227134Hi lbeneby,
That’s great, as for the burger menu, please use this CSS code:
.html_av-overlay-side.av-burger-overlay-active #top .av-hamburger-inner, .html_av-overlay-side.av-burger-overlay-active #top .av-hamburger-inner::before, .html_av-overlay-side.av-burger-overlay-active #top .av-hamburger-inner::after { background-color: black; }
Best regards,
NikkoJuly 1, 2020 at 9:30 am #1227166This reply has been marked as private.July 2, 2020 at 6:46 am #1227395Hi lbeneby,
Please add this CSS code:
#top #header .avia-menu.av-main-nav-wrap { width: 100%; } #top #header .av-main-nav { align-items: stretch; justify-content: space-evenly; } #top #header .av-main-nav > li { width: 100%; border-right: 1px solid white; text-align: center; } #top #header .av-main-nav > li > a .avia-menu-text { border: none; }
As for enlarging the logo, I believe you have already done so :)
Best regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.