Hi, So I have been trying to get this feature to work for some time now and I can never get it to work. I have stood up a test page in its simplest form to show you.
The first row the image should be on top when we get to mobile but on desk top the image should be on the right side of the page.
Can you help look into why this will not work for me?
Hey NicomIT,
It looks like you have added some custom CSS to the site? If you want to align the main menu, then try aligning the whole menu using this class: .main_menu. Try adjusting the top margin. Then remove the 35px top margin from the links in the menu:
#top #header_main > .container .main_menu ul:first-child > li > a
Best regards,
Rikard
Hi,
Great, I’m glad that Nikko could help you out. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
Rikard
Hi,
Great, I’m glad that you found a solution, and thanks for sharing. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
Rikard
Hey Christophe,
We have updated your account with the correct email adress :-)
Best regards,
Rikard
Hi dondela,
I’m glad that we could help you :)
To make it only run for desktop and make it a little lower, please replace the code I gave with this one:
@media only screen and (min-width:1080px) {
.responsive #top #header #header_main .inner-container .logo,
.responsive #top #header .logo a {
height: 148px;
overflow: visible;
}
.responsive #top #header #header_main .inner-container .logo {
transform: translateY(55%);
}
.responsive #top #header .logo img {
width: 300px;
max-width: 300px;
height: 222px;
max-height: 222px;
}
}
The code to lower it a bit is:
.responsive #top #header #header_main .inner-container .logo {
transform: translateY(55%);
}
The old value was 50%, so just increase or decrease the value as you see fit.
Best regards,
Nikko
Hi,
thanks for your help!
Now the Logo is bigger.
Would it be possible to place the logo a little lower? And that the code only runs on desktop views?
So that the logo doesn’t look so big on mobile.
Thanks that works on desktop – but on mobile device the page scrolls only with the picture. How can i change this? Thank you!
Hi,
Great, I’m glad that you got it working. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
Rikard
Hi,
Great, I’m glad that you got it working. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
Rikard
Hi dondela,
Please try to add this CSS code in Enfold > General Styling > Quick CSS:
.responsive #top #header #header_main .inner-container .logo,
.responsive #top #header .logo a {
height: 148px;
overflow: visible;
}
.responsive #top #header .logo img {
width: 300px;
max-width: 300px;
height: 222px;
max-height: 222px;
}
Hope it helps.
Best regards,
Nikko
Hi joandjaxx,
Try to add border: none; to the last code I gave:
#top .avia-button.my-custom-color {
background-color: #e39a59;
color: #fff;
border: none;
}
Hope it helps.
Best regards,
Nikko
Hi northorie,
Try to reduce the margin on iphones (or mobile device):
@media only screen and (max-width:767px) {
#top #service .av-rotator-container {
margin-top: 30px;
}
}
Hope it helps.
Best regards,
Nikko
Hi Stefan,
I could see it now.
Please try to use @Guenni007’s solution.
Or you can also try this code and see if it helps:
@media only screen and (max-width:767px) {
#top .avia-gallery-thumb {
display: grid;
grid-template-columns: repeat(3, 1fr);
}
#top #wrap_all .avia-gallery .avia-gallery-thumb a {
float: none;
width: 100%;
}
}
Best regards,
Nikko
Hi NicomIT,
Please add this CSS code in Enfold > General Styling > Quick CSS:
@media only screen and (max-width:767px) {
#top .avia-gallery-thumb {
display: grid;
grid-template-columns: repeat(2, 1fr);
}
#top #wrap_all .avia-gallery .avia-gallery-thumb a {
float: none;
width: 100%;
}
}
Hope it helps.
Best regards,
Nikko
Hello,
I can’t get the grid row at the bottom of the home page to be displayed correctly (stacked) on mobile/tablet when all the options are (seemingly) properly configured.
Mobile behaviour: Each cell is displayed on its own.
The background image and the text stay side by side instead of switching to full-width and being displayed vertically (image on top of the text, or the other way round, doesn’t matter.
What’s more, switching off the element visibility for small screens also doesn’t work, the grid row is still displayed, still side by side and also when changing window size at one point the grid row stops being full screen and there is white strip visible at a certain resolution.
It looks like I have this problem only on my home page, grid rows on other pages work as expected (change from side by side to vertical stack on mobile/tablet).
I’ve read some very old topic and the solution was to put grid row into the color section to make it responsive, but I can’t do this now.
Also, the footer is displayed differently on the home page, compared to other pages (no white top and bottom borders for headings on column widgets).
Any ideas how to fix it?
Thanks,
Tom
-
This topic was modified 2 years, 4 months ago by
Tom_Tom_UK.
On this page, a gap appears in the footer where some inline styles and a p tag have been somehow inserted. This footer is created as a page. I’ve seen this issue before but it’s elusive. Sometimes goes away after saving pages or styles or something…. not sure. This time it seems very persistent on this page.
Here is the code that is being inserted. Where does this come from? How do I stop it? Why is it only on this page?
<p>
<style type=”text/css” data-created_by=”avia_inline_auto” id=”style-css-av-jfgi5bwp-77838ec405745bb03eb0885aac664314″>
.avia-section.av-jfgi5bwp-77838ec405745bb03eb0885aac664314{
background-color:#000000;
background-image:unset;
margin-top:0px;
margin-bottom:0px;
}
</style>
</p>
Nevermind, there was a syntax error. Thanks, you can close the topic
how can I change the font colors in the mobile version for the menu?
also – I changed the font to quattrocente for body and headings but the fints for the menu are still using some kind default font that doesn’t change when I change it tin advanced styling.
Where are the setting for the menus on desktop and mobile hiding?
Hey ausgesonnen,
Please try the following in Quick CSS under Enfold->General Styling:
.container_wrap {
border-top-width: 0;
}
Best regards,
Rikard
Dear Mike,
thanks for your help. However, it did not bring me any further.
Just leaving the # and the ID only works if you navigate from anchor to anchor, not from page to anchor. If you do that the URL becomes mysite.com/page/#anchor (nothing happens) instead of mysite.com/#anchor.
It also did not solve my problem of wanting to underline the correct menu item during scrolling.
So I have inserted the whole links again in the menu. I also changed the header type from standard (with the active menu display, i.e. this line) to minimal and I changed the active menu color in red (#810000) en the inactive in blue (#203864).
Still the thing is that being on the homepage all anchorlinks in the menu that are part of the homepage are also colored red = active. I want them to “stay” blue until scrolling towards them, only then they should turn red.
I tried to reach this with using your formerly given CSS code (from thread #1414442):
/* ankerlinks in navi werden nur aktiv beim runterscrollen */
#header.header_color .main_menu ul:first-child > li.current_page_item > a {
color: #203864 !important;
}
#header.header_color .main_menu ul:first-child > li.current_page_item.current-menu-item > a {
color: #810000 !important;
}
But after applying this code all anchorlinks in the menu turned blue and nothing happens when scrolling towards them. Hovering over the page link in the menu will turn it into red. Being on this page, hovering over the anchors will turn them red as well. So the code only seems to work for pages.
I tried to figure out differences between the code for anchors and pages, e.g.
Anchor (non-active): .menu-item-type-custom.menu-item-object-custom
Page (non-active): .menu-item-type-post_type.menu-item-object-page
Anchor (active): .menu-item-type-custom.menu-item-object-custom.current_page_item.menu-item-home.menu-item-top-level.menu-item-top-level-2
Page (active): .menu-item-type-post_type.menu-item-object-page.page_item.page-item-246.current_page_item.current-menu-item
But my knowlegde is unfortunately not enough to adapt the code properly. Perhaps you can have a look into it again? I would very much appreciate that!
The issue with the mobile menu also still exists. I would like to see the active menu item here as well. I assume the solution is related to the solution for the above.
Thanks for your help!
Best regards,
Cornelie
Please send css so font is set to justify on desktop and to align left on mobile. Otherwise the gaps are very large.
It helped, thanks a lot.
But it didn’t work the way you posted it. I’ve done it wrong at first an posted the new code above the previous one.
Now the Code looks like that:
#top #service .av-rotator-container {
margin-top: 95px;
}
@media only screen and (min-width:768px) and (max-width:1180px) {
#top #main .av-lpvadf1r-9094a82807ca6b00b3712e5ee699c058 > .flex_column {
top: auto;
bottom: -126px;
}
}
It’s not perfect, but as close as I can get I guess.
I just noticed that it looks strange on iPhone now… *sad*
Hi,
Great, I’m glad that we could help you out. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
Rikard
Hi joandjaxx,
To make it extra large, replace avia-size-large with avia-size-x-large
For color, replace avia-color-purple with my-custom-color (or name it however you like)
Then go to Enfold > General Styling > Quick CSS:
#top .avia-button.my-custom-color {
background-color: #333;
color: #fff;
}
Just adjust the colors as you see fit (color is for text color).
Hope this helps.
Best regards,
Nikko
Hi northorie,
You can simply add this code inside the previous code I gave:
#top #service .av-rotator-container {
margin-top: 80px;
}
The whole code would look like this:
@media only screen and (min-width:768px) and (max-width:1180px) {
#top #main .av-lpvadf1r-9094a82807ca6b00b3712e5ee699c058 > .flex_column {
top: auto;
bottom: -126px;
}
#top #service .av-rotator-container {
margin-top: 80px;
}
}
Just change the values as you see fit. (The previous margin was 55px).
Hope it helps.
Best regards,
Nikko
Hey dondela,
Please try the following in Quick CSS under Enfold->General Styling:
#top .tabcontainer {
background: #fff;
}
Best regards,
Rikard
Hi,
Great, I’m glad that Nikko could help you out. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
Rikard
Hi,
Great, I’m glad that you found the cause of your problem. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
Rikard