Hey Munford,
Thank you for the inquiry.
The left and right columns are already set to be 50%, but the row doesn’t expand to full width when there’s little text in the right column. To fix this, please try adding the following css code.
#top .isotope-item.special_av_fullwidth .inner-entry {
text-align: left;
display: table;
table-layout: fixed;
width: 100%;
}
Best regards,
Ismael
And this pdf shows the home page New Patient Offers on desktop view and Mobile view. Can we get these to be the same?
Hi,
this solution doesn’t work either. I followed your instructions and put the code in the text block, so the shadow just disappears.
The only way I’ve found to make this margins disappear is this code:
/*White strip top/below the videos in shadowed AVIA columns*/
.su-u-responsive-media-yes {position: inherit !important;}
But it still leaves a micro white line on mobile phones, as you can see here
Can you resolve it?
Hi,
Great, I’m glad that we could help :-)
Please let us know if you should need any further help on the topic, or if we can close it.
Merry Christmas,
Rikard
Hi,
You are welcome. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
Rikard
Hi,
Thanks for the update. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
Rikard
Hi,
Thanks for that. This media query doesn’t seem to be closed:
@media only screen and (min-width:989px) {
.phone-info { font-size: 14px; padding-top: 20px; padding-bottom: 20px; padding-right: 100px;}
Best regards,
Rikard
Ok great. That almost worked. I adjusted the colors in Menu Links in overlay/slideout.
the only issue now remaining is the following: a lot of my links are to anchor points on the pages. Please see what happens to them in the burger:
they all light up at once… Can I have it like in the desktop version, where the items light up individually?
Thanks
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
oh wow – did not see that you are only asking for the logo hide/show !
so forget about my solution – which is meant for hide/show complete header – sorry
and if you like to have the benefit of those classes added on scroll – without having a shrink see:
https://kriesi.at/support/topic/how-to-set-a-very-small-shrink-factor/#post-1416772
oh wow – did not see that you are only asking for the logo hide/show !
so forget about my solution – which is meant for hide/show complete header – sorry
_________ so this is not for your problem ____________
yes, this is a possibility – but has the disadvantage that this class (header-scrolled) is only removed if you are in the top position on the page. This means that the header only appears again then. If you scroll-direction is up at the bottom (or middle) of a page, nothing happens.
It would therefore be better to have a class that is removed as soon as a certain distance is scrolled back – and thus restores the header visibility.
This is a function adding a class (hide-header) depending on scroll distance.
function hide_header(){
?>
<script>
(function($){
'use strict';
var c,
currentScrollTop = 0,
header = $('#header');
$(window).on('scroll', function () {
var a = $(window).scrollTop();
var b = header.height();
currentScrollTop = a;
if (c < currentScrollTop && a > b ) {
header.addClass("hide-header");
} else if (c > currentScrollTop && !(a <= b)) {
header.removeClass("hide-header");
}
c = currentScrollTop;
});
})(jQuery);
</script>
<?php
}
add_action('wp_footer', 'hide_header');
The css you need on that must reflect your header height you set on Enfold options. And the options – f.e. if you have a top-menu or phone-info field above the header. And if it scrolls away.
The trick now is to shift the header in y-direction above the viewport.
And because we do not want to do that if the burger menu is opend – we exclaim it bei not selector ( :not(.av-burger-overlay-active) )
The media query settings are individual – and you have to adjust it to your needs – if you got pages with transparency headers – maybe there had to be different padding-top settings of #main.
css – first settings:
.responsive:not(.av-burger-overlay-active) #header {
top: 0px;
-webkit-transition: transform 0.5s ease-in;
transition: transform 0.5s ease-in;
}
.responsive:not(.av-burger-overlay-active) #header.hide-header {
-webkit-transition: transform 0.5s ease-in;
transition: transform 0.5s ease-in;
}
.responsive:not(.av-burger-overlay-active) #main {
top: 0px;
-webkit-transition: padding-top 0.5s ease-in;
transition: padding-top 0.5s ease-in;
}
.responsive.av-burger-overlay-active #header {
position: fixed !important;
}
@media only screen and (min-width: 990px) {
.responsive:not(.av-burger-overlay-active) #header.hide-header {
transform: translateY(-116px);
}
}
@media only screen and (min-width: 768px) and (max-width: 989px) {
.responsive:not(.av-burger-overlay-active) #header {
position: fixed !important;
top: 0;
}
.responsive:not(.av-burger-overlay-active) #header.hide-header {
transform: translateY(-90px);
}
.responsive #top #main {
padding-top: 90px !important;
}
}
@media only screen and (max-width: 767px) {
.responsive:not(.av-burger-overlay-active) #header {
position: fixed !important;
top: 0;
}
.responsive:not(.av-burger-overlay-active) #header.hide-header {
transform: translateY(-80px);
}
.responsive #top #main {
padding-top: 80px !important;
}
}
Hey antdesign01,
Thank you for the inquiry.
The styles are enclosed within a css media query for desktop view, which is why the styles are not applied on mobile view.
@media only screen and (min-width: 989px) {
}
If this wasn’t intentional, ensure that the css rules and other media queries are correctly closed.
Best regards,
Ismael
Hi,
The modification above should adjust the color of the burger menu items to white. If you need to change the color on hover, please add this css code.
.html_av-overlay-full #top #wrap_all #av-burger-menu-ul li a:hover {
color: gold;
}
You may need to toggle or temporarily disable the Enfold > Performance > File Compression settings in order to ensure that the changes take effect. By disabling the file compression settings, you will be able to make the necessary adjustments and updates without any conflicts. Once you have made the required modifications, you can re-enable the file compression settings to optimize the performance of your website.
Best regards,
Ismael
Hi,
Thank you for the screenshot.
You can adjust the hover style of the burger menu items in the Enfold > Advanced Styling panel. Look for the Menu Links in overlay/slideout element in the dropdown and adjust the Font Hover Color field accordingly.
You can also use this css code.
.html_av-overlay-side #top #wrap_all .av-burger-overlay-scroll #av-burger-menu-ul li a:hover {
color: #ffffff;
}
Best regards,
Ismael
Hi,
Thank you for the update.
If you could help me remove those green borders from the current menu items in the dropdown, that would be great.
To remove the bottom border, please look for the following css rule:
#top #header #avia-menu li.current-menu-item > a > .avia-menu-text {
border-bottom: #7ac142 solid 10px;
padding-bottom: 9px;
}
Replace it with:
#top #header #avia-menu > li.current-menu-item > a > .avia-menu-text {
border-bottom: #7ac142 solid 10px;
padding-bottom: 9px;
}
Best regards,
Ismael
On the Home page, the right side “NEW PATIENT OFFERS” is really formatted bad on Mobile view and looks a lot different than Desktop view. Let me know how to fix this. thanks!
Das burger menu erschient doppelt in der desktop Ansicht.
Was kann ich tun damit es nur einmal erscheint?
-
This topic was modified 2 years, 4 months ago by
ausgesonnen.
When on mobile view, the headlines are all very small and the formatting is wrong. I circled a couple things that are really wrong on Mobile view, but look fine on Desktop view. Can you help me figure out how to fix this??
THANKS
Hello, I updated the theme and some of my videos will no longer load. There are two that load a black screen with the text “Video Unavailable Watch on Youtube” and one that still works. On this page: https://www.primeperformance.ca/programs/ the top hero banner video does not work, but if you scroll down to the bottom of the page, the bottom video works as it should. There is also a video on the home page that no longer loads as well.
I tried troubleshooting with different variations in the URL but nothing worked.
Thanks.
Hi,
Thanks for that. Please try the following in Quick CSS under Enfold->General Styling:
#top .fullsize .template-blog .post .entry-content-wrapper {
text-align: left;
font-size: 16px;
}
Best regards,
Rikard
Hi! I’ve got a curly one that for some reason I just can’t figure out… I have applied the following style to my images (link to dev site below). The style is perfect on desktop, but on mobile devices it doesn’t show at all. I can’t work out what I am missing… are you able to assist?
/*—————————————-
// Image Overlay Title Text
//————————————–*/
.av-image-caption-overlay {
text-align: left !important;
}
.av-image-caption-overlay-center {
vertical-align: bottom !important;
}
.av-image-caption-overlay-center p {
padding: 20px 0 !important;
}
.av-image-caption-overlay-center p {
font-weight: bold !important;
text-transform: uppercase !important;
}
.grad-col .av-image-caption-overlay {
border-radius: 20px !important;
background: linear-gradient(0deg,rgba(0, 39, 87, 0.8), rgba(0, 39, 87, 0.1)) !important;
}
.grad-col img {
border-radius: 20px !important;
}
-
This topic was modified 2 years, 4 months ago by
antdesign01.
Dear Enfold-people,
I am trying to have a text block (from the 2nd color-section) rising half over this page’s top color-section (Hero image): https://www.bluerootstimber.nl/home/practice-areas/
The text in the right column (Donec pede justo) is right to the side of the column. Where I did manage to have some padding/margin with the Special Header, I cannot find how to get it in line with the text block.
All should look a bit like ‘Lumber & Mill work’ on this page: https://tropicalforestproducts.com/lumber-millwork/
Also as it is now, I can not select the text in the 2nd column, it behaves like an image ‘drag and drop’.
Please help!
Best wishes,
Henning
Hey Anton,
Thank you for the inquiry.
Adding this css code should remove the space below the video.
.su-youtube.su-u-responsive-media-yes {
margin-bottom: 0;
}
The double button on the official site is not available by default, but here is the markup in case you want to use it on your own site.
HTML:
<div class="avia-double-buttons "><a href="https://site.at/themes/enfold-overview/" class="avia-double-button avia-double-button-1">View Demos</a><span class="button_or">or</span><a href="https://1.site.market/" class="avia-double-button avia-double-button-2">Purchase Now</a></div>
CSS:
#top .avia-double-button {
letter-spacing: 1px;
padding: 13px 20px;
text-transform: uppercase;
font-size: 13px;
text-align: center;
min-width: 175px;
display: inline-block;
transition: all 0.4s ease-in-out;
-moz-transition: all 0.4s ease-in-out;
-webkit-transition: all 0.4s ease-in-out;
-o-transition: all 0.4s ease-in-out;
border: 4px solid #fff;
text-decoration: none;
}
#top div .main_color .avia-double-button {
border-color: #e1e1e1;
background: #fcfcfc;
color: #222222;
}
#top #wrap_all .avia-slide-wrap .avia-double-button, #top #wrap_all .avia-hover-fx .avia-double-button {
background: #000;
background: rgba(0,0,0,0.2);
border-color: #fff;
color: #fff;
padding-bottom: 11px;
text-decoration: none;
}
#top .avia-double-button-2 {
border-top-right-radius: 100px;
border-bottom-right-radius: 100px;
border-left: none;
}
#top .avia-double-button-1 {
border-top-left-radius: 100px;
border-bottom-left-radius: 100px;
border-right-width: 2px;
}
.avia-double-buttons {
margin-top: 30px;
text-align: center;
position: relative;
}
#top .button_or {
position: absolute;
display: block;
height: 26px;
line-height: 21px;
width: 26px;
text-align: center;
top: 50%;
left: 50%;
margin: -13px 0 0 -14px;
background: #fff;
color: #666;
border-radius: 100px;
font-size: 10px;
border: 2px solid #FFF;
font-style: italic;
font-weight: 600;
z-index: 11;
}
Best regards,
Ismael
So, changing the vireport settings (in the mentioned dropdown) within the LS editor does not have any effect???
If I want to have an element e.g. 30% width on “desktop view” and 100% width on “mobile view” I will have to change that manually in my css?
I was expecting LS to have that feature per breakpoint, not only show or hide. Thats not very intuitive.
Hey cambium.digital,
Thank you for the inquiry.
Layer Slider should automatically calculate the size of the text or layers based on the viewport or screen size. For example, if you set the font size of a text layer to 23px on desktop, LS should automatically resize this text to around 8-11px on mobile view. If you really need to manually control the style of a specific layer on different screen sizes, you can apply a custom ID or class name to it in the Layer Settings > Attributes panel. You can then add your own css modifications in the Quick CSS field or in the child theme’s style.css file.
Best regards,
Ismael
Hey whdsolutions,
Thank you for the inquiry.
You can add this css query to exclude specific elements when printing pages as documents. This helps customize the print layout and ensures a cleaner representation on paper.
@media print {
/* All your print styles go here */
#top #main .sidebar {
display: none;
}
}
The css rule above should hide the sidebar, but you can define more elements to exclude or modify as needed.
Best regards,
Ismael
Hi,
Thank you for the update.
To adjust the style of the burger menu items, please start with this css code.
.html_av-overlay-full #top #wrap_all #av-burger-menu-ul li a {
color: #fff;
height: auto;
line-height: 1em;
font-size: 0.8em;
}
.av-burger-overlay-bg {
z-index: 3;
opacity: 0.9;
background: #000;
display: block;
position: fixed;
}
Best regards,
Ismael
Hi,
Thanks for the update, I’m glad that Ismael 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 Mike 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,
Thanks for the update. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
Rikard