Hi Kresi team,
I would like to update the button color on my form element within a content slider.
At the moment, the button appears differently on mobile and desktop views. I’ve attached screenshots via a Dropbox link for your reference.
Could you please make the button shape the same on both mobile and desktop views, with a background color of #ED1C24 and white text, so it looks consistent across devices?
Thank you so much for your help!
Thank you, the code help a lot!
For now I will leave it this way. Topic can be closed.
Best regards
Hi,
Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:
function custom_script() { ?>
<script>
window.addEventListener('DOMContentLoaded', function() {
(function($){
$('.single-post').each(function() {
$(this).find('.entry-content-header').css({'margin-top':'15px'}).insertAfter($(this).find('.big-preview').css({'margin-top':'0'}));
});
})(jQuery);
});
</script>
<?php
}
add_action( 'wp_footer', 'custom_script', 99 );
Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.

To use the full size featured image for single posts with a sidebar, instead of the 845×321 size that will be upscaled, add this code to the end of your child theme functions.php file in Appearance ▸ Editor:
add_filter( 'post_thumbnail_size', 'custom_single_event_post_thumbnail_size' );
function custom_single_event_post_thumbnail_size($size) {
if( !is_singular('post') ) {
return;
}
if( ! has_post_thumbnail() ) {
return;
}
$size = 'full';
return $size;
}
Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
Best regards,
Mike
HI I checked some old posts about it but nothing is working. My logo is just not showing on desktop for some reason. Could someone you have a look?
It says anyone with a link has access, but maybe there is something blocking you. Anyways, here it is: https://img.savvyify.com/image/correct.92epd
I’ve had this on a few of my site, where the image goes all the way to the top of phones. I know you can change the color of that top area, but I’ve also had code to show the image up there. thanks
-
This reply was modified 1 year, 1 month ago by
bemodesign.
Hi,
Thank you for your patience, try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:
#top #header_main_alternate {
background-color: red;
}
#top #header .av-main-nav > li > a {
background-color: red;
}
Change the color to suit and Then clear your browser cache and any cache plugin, and check.
Best regards,
Mike
I though it used to go up into the phone part at the top also. I guess it can’t.
So, can we at least make the icons to the right of the logo a little larger?
Here is the screenshot of the one that goes to the very top of phone area. (no black area): https://drive.google.com/file/d/1eRMLMPlQeM0T6hBy3Danuzys48c4lWbe/view?usp=sharing
Thanks!
-
This reply was modified 1 year, 1 month ago by
bemodesign.
Hi,
I can not see your screenshot as it requires a login, when I check the image goes to the top:

I check on Android, the black area (in the green circle) in your screenshot is from your phone not the site.
Best regards,
Mike
Ha, yes, I know that. Bu the image used to go all the way to the top. like this: example site that the photo goes all the way to the top: https://drive.google.com/file/d/1eRMLMPlQeM0T6hBy3Danuzys48c4lWbe/view
And now it doesn’t, it shows a black areas, instead of the image going to the top of phone.
-
This reply was modified 1 year, 1 month ago by
bemodesign.
Hi,
You have a duplicate question open I answered there:
The reference to the “shortcode” folder is what you add to your child theme, the “sections.php” in the parent theme is at: /config-templatebuilder/avia-shortcodes/section/section.php
This will only work with self hosted videos and not on mobile.
Best regards,
Mike
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
Hey christophe rouchon,
You don’t need a subscription or a activate license to import a demo.
Try increasing the PHP max execution time and time limit values.
The demos are imported via the WordPress XML file, which is a file that links the images to our domain, (IP address) typically the curl 28 error means that our IP address has been blocked, some hosts like OVH block our IP, I don’t know why but we have reached out to them for a few years and once in a while sometimes they might unblock us, but later it will always get blocked again. Most of the time they are not helpful. I don’t know your host, but if it is them, this is the issue.
As a workaround, you can install the demo on a local host on your computer and then use the plugin Duplicator to move to your live site. This is typically the easiest solution.
Best regards,
Mike
MMParticipant
Hi,
I used the CSS here: https://kriesi.at/support/topic/adjust-the-transition-speed-of-the-caption-title/ to change the slide-in speed of the title of a fullscreen slider, but what CSS is needed for the subtitle and buttons to make them slide in at the very same time please?
Cheers,
Matt
I’m so flummoxed… I have my header set to transparent with a transparent background logo. I’ll score 58-65 on mobile with google page speed but, 99 on desktop. If I swap out the logo with a non-transparent one I’ll score 95ish on mobile. I’ve tried WebP, optimized PNG, had my graphics person send new files that they did the transparency and WebP conversion, I tried letting ShortPixel manage it. No matter what I do a transparent logo of any type kills the speed.
The diagnostics define LCP as the culprit and 90% of the delay is Render Delay. This is around a 10kb file so it shouldn’t take any time at all.
On mobile the initial look forgoes the transparency as the header is already transitioned to white the way desktop does when scrolling. I wonder if that is where a conflict originates. Like the theme is trying to force the transparency or something.
Any ideas on this? I’d really like to have that transparency.
Seattledecksupply.com
-
This topic was modified 1 year, 1 month ago by
pdxammo.
I’m concerned about all things but yes, I am currently primarily looking at speed. I use Google page speed insights, pingdom and gift of speed.
I feel like I’m rooting around in the dark with my plugin selection. There are so many things that show up in a feature list that also are in other plugins or the theme itself. I hope to avoid duplication and by extension bloat and conflicts. I am imagining the user base of this forum specifically has insights into what works well with Enfold. Most of the other information I find is generalized and not necessarily applicable to a feature rich theme like Enfold.
I am happy to say that I see no signs that Enfold has any barriers to entering the upper echelons of speed scores or core vitals. Aside from one glaring issue with a particular file type I’m getting high 90’s both on mobile and desktop with some relatively rich content. I’m going to start another thread as that specific issue is a bit of a gremlin I can’t offer an explanation for.
This thread is a more general question of what’s worked well In the past?
-
This reply was modified 1 year, 1 month ago by
pdxammo.
Hi, I found some older posts dealing with this. But they seem to reference classes and files that I can’t find, so I feel like enfold might have updated to the point the fixes are no longer valid.
I tried using the solution mentioned here https://kriesi.at/support/topic/html-for-turning-on-audio/#post-1477062, specifically the one that links to here https://webers-testseite.de/mute-unmute/, but I could not find the shortcode folder within enfold, or the sections.php to copy into my child theme. Have they moved somewhere else, or is there a different place I can find the code that is mentioned?
The video I’m trying to use is currently hosted on youtube. I did see some mention of needing to be self-hosted, but it seemed confusing as to what situation that applied to.
Also, I’d ideally like to use the fontello icons included with enfold to be the mute and unmute button. Can I just use the content/font css instead of a background image in the css?
#top #header_meta .sub_menu {
padding-top: 10px;
}
this will end in a same baseline – if you like to have it more centered then use perhaps 9px
Hi,
I have created a menu on the right side of the top bar, but I have issues in aligning it central on the vertical: https://stage3.studiocampaner.ro
Thank you!
Hi,
Is there a way to display three items per row on mobile view, just like on desktop and tablet views?
Did you copy the code from your email? Please try copying it directly from the forum. If you remove the CSS code above, the slider should display 3 columns per row.
You can also create another post slider, set the column to 1, and then toggle the visibility of both post sliders in the Advanced > Responsive > Element Visibility settings. This way, you’ll have two post sliders — one for mobile and another for desktop view.
Best regards,
Ismael
Hey Miguel,
Thank you for the inquiry.
The font color and the background color of the top header are the same. We adjusted the color values in the Enfold > General Styling > Logo Area panel.
To display the logo again, we added this css code:
.container.av-logo-container .inner-container {
height: 50px;
}
Please make sure to purge the cache before checking the page.
Best regards,
Ismael
Thanks Ismael,
This code drastically altered the appearance of my entire website, unfortunately.
Is there a way to display three items per row on mobile view, just like on desktop and tablet views?
I have an issue regarding the alignment of an image on all the different devices.
I have an image on the left and text to the right in a content section. I want the image to stick to the bottom of the section on all devices.
For small screens (mobile) I made a second image that only shows on mobile devices, so that on mobile devices the text comes first and the image follows beneath the text, which is allready sticking tot the bottom as it should (https://kriesi.at/support/topic/image-not-placed-at-bottom-of-section/)
Now I have been checking the page on all devices with Chrome Developer Tool and on some devices the image is not sticking to the bottom. How can I make sure this does happen? Do you need the devices and dimensions from me where it goes wrong?
And another responsive thing, on small screens (mobile devices) the images I have placed in the footer are set beneath each other, which is fine, but I need some space between them (bottom/top), how do I do this, for only mobile screens?
Website is not live yet so I will make a login for you. pls select homepage when logged in.
Hi,
If you want to display the scroll to top link on mobile, then please add this to Quick CSS:
@media only screen and (max-width: 767px) {
.responsive #scroll-top-link {
display: block;
}
}
Best regards,
Rikard
Hi!
I have a very destroyed looking archive page of a custom post type/taxonomy. No margins, huge images,…
Looking at the code there was “isotope” and “portfolio” all over the place instead of the regular grid display. After a while I thought about looking into the template-archives.php file of enfold since a change in Enfold 6.x was mentioned here in the forum.
The strange thing is: there is hardcoded lots of “Portfolio” related stuff. Nothing is switched based on the post type, line 94 has hardcoded the posts query:
/*
* Display the latest 20 portfolio posts
*/
query_posts( array( 'posts_per_page' => 8, 'post_type' => 'portfolio' ) );
It seems really off to me. It now absolutely makes sense now why deactivating the whole portfolio “feature” with the following code (found here in the forum) makes this archive page crash completely, too.
add_action('after_setup_theme', 'remove_portfolio');
function remove_portfolio() {
remove_action('init', 'portfolio_register');
}
-
This topic was modified 1 year, 1 month ago by
48DESIGN.
Hi, I’m trying to change the general „underline“ to scribble-effect, same for „mark“ (but here I use a circle effect):
This is what I use for underline:
.underline-sketch-highlight{
position:relative;
}
.underline-sketch-highlight:before{
content:””;
z-index:-1;
left:-0.5em;
top:0.75em;
padding:0.1em;
border-width:3px;
border-style:solid;
Border-color:blue;
border-left-color:transparent;
border-top-color:transparent;
position:absolute;
width:104%;
height:0em;
transform:rotate(-1.5deg);
opacity:0.7;
border-radius:75%;
}
.underline-sketch-highlight:after{
content:””;
z-index:-1;
left:-0.5em;
top:0.8em;
padding:0.1em;
border-width:3px;
border-style:solid;
Border-color:blue;
border-left-color:transparent;
border-top-color:transparent;
position:absolute;
width:104%;
height:0em;
transform:rotate(1.5deg);
opacity:0.4;
border-radius:25%;
}
How can I change without the need to use <span> for every single underlined or marked word.
Thank you in advance!
Hey davec15,
Thanks for reaching out.
The page seems to be displaying correctly on our end, both on desktop and mobile views. Would you mind providing a screenshot of the issue? You can use platforms like Savvyify, Imgur, or Dropbox to upload and share the screenshot.
Best regards,
Ismael
Hi,
Thank you for the link.
The scroll-to-top button is there, in the bottom right corner of the page, beside the cookie consent message. If you want to move it to the left, use the following css code:
#scroll-top-link {
left: 50px;
bottom: 50px;
right: auto;
}
Best regards,
Ismael
Hi,
Thank you for the inquiry.
There is no built-in option for this, but you can try the following css code to adjust the width of the items. They will still be displayed in sets of three but will stack above each other instead.
@media only screen and (max-width: 767px) {
/* Add your Mobile Styles here */
.responsive #top #wrap_all .avia-content-slider-even .slide-entry.slide-parity-odd,
.responsive #top #wrap_all .avia-content-slider-odd .slide-entry.slide-parity-even {
margin: 0;
clear: none;
width: 100%;
margin-left: 1%;
}
}
Best regards,
Ismael
Hi team,
I recently added a text box to my homepage, and after saving, it seems like the entire website layout is broken. The styling isn’t displaying properly anymore. Although the style settings and changes appear correctly in the editor, they’re missing when viewing the live site.
I’ve waited around 30 minutes and cleared my cache, but the issue persists. Interestingly, the mobile view seems unaffected, and only the desktop view appears to be impacted.
Could you please assist with this?
Hi,
Thank you for the update.
It is working correctly on our end. Please make sure to purge the cache before checking the page. Regarding the transparent header, we adjusted this code in the style.css file:
@media only screen and (max-width: 989px) {
.responsive #top #main {
margin-top: -110px !important;
}
#top #wrap_all .av_header_transparency {
background-color: transparent !important;
}
div#header_main>.container {
display: block !important;
}
}
Best regards,
Ismael