Forum Replies Created
-
AuthorPosts
-
Hi,
The portfolio items element is found at\wp-content\themes\enfold\config-templatebuilder\avia-shortcodes\portfolio\portfolio.php & portfolio.jsbut that is only for the inner items the page template is found at\wp-content\themes\enfold\archive.phpbut that is the template for all archive page types. To remove the archive sidebar please see the theme options > sidebar settings:

To modify the lightbox popup you would write some css to target the image with the class .mfp-img with either height or width like this:img.mfp-img { width: 80vw !important; }but please note that it is possible to distort the image so you may want to balance the height and width, and you probably will not want to go 100% width because closing the image is often done by cliking away from the image so you will want to leave a edge.
Best regards,
MikeHi,
Glad to hear this helps, I have submitted this to the dev team for review so perhaps in the future there will be a theme option, I will go ahead and close this thread, thank you for using Enfold.Best regards,
MikeHi,
Thank you for the feedback, I did some further testing with gridrows, which are full-width elements, and found that any element that you add between the gridrows creates the div with an ID after_submenu_x, such as the text element and special heading element.
So while the div ID could or should be after_grid_x the div must be present because it is the container_wrap after a fullwidth element, each div after a fullwidth element is structured like this: container_wrap > container > content > etc.

for these the default 50px padding is typically desired so the elements are not on top of each other, if you try a text element or special heading element after a fullwidth element you will see that it is natural to the Enfold layout. So I would not say that this is a bug, but I can see with the Whitespace Separator element this may not be desired because the Whitespace Separator itself is typically used to create a certain space, this is may not true for all Separators because some are used to show a line such as the Short Separator.
So with changing this the issue is that with css there are no parent selectors for child elements, what I mean is that is to look backwards from the Whitespace Separator to the .content class to remove the padding universally across the site would need to be done with javascript. The reason I was able to do it with css above was because I looked for a unique pattern to your situation and recommended using page IDs so not to cause conflicts, basically a custom solution.
As I pointed out above, a solution that would probably be more commonly suggested would be to add a custom class to the Whitespace Separator element for use after full-width elements to remove the padding.
I will submit this to the Dev Team for further review and reply when I hear from them, but for now I recommend that you use the solution above as it seems to be working for you. Let us know if you have any issues getting the solution to work for you on other pages and we will help.Best regards,
MikeHi,
To find the page IDs you can either hover over the edit button in the WordPress backend:

or look in the page source code, (F12 on Windows), in the body tag

As for why this is happening, I’m seeing that after each grid row a after_submenu is created, but I don’t see a sub-menu, except your grid rows are links, like a menu,

each submenu div has a .content class which is effected by the layout.css rule

Another approach instead of my css could be to add a custom class the whitespace and remove the padding that way, but I believe my css is pretty sound and should not cause conflicts especially if you limit it to certain pages.Best regards,
MikeHi,
Glad we were able to help, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)Best regards,
MikeHi,
Glad we were able to help, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)Best regards,
MikeJune 8, 2021 at 1:16 pm in reply to: Layerslider loading last – how do I get it to load first? #1304625Hi,
Thanks for your feedback, I don’t do website optimization for a living, and it is a little out of scope for us, I had to look up “LCP” so with “LCP to be <2.5s and CLS <.1" I'm not sure what you are trying to say, but from the web page performance test you are looking better than most 7s sites that I see. I will have to leave the optimization & SEO to someone more knowledgeable.
As for the CSS, the changes I made were in the Quick CSS only, sorry about moving the banner I thought I was helping, I changed the top & height for the class.background-strap

for the logo it was this:.av_minimal_header #header_main { height: 145px; }I believe it was 134px before, but the bottom of the buckle didn’t show, you could copy the Quick CSS from your live site to reset your dev site. As for sharing images you can use most any image host, I use this one, and then post the html link into your post.
Also for your hero image, it seems that the only layer to the slider is a button, so that seems like a lot of weight, instead, you could just use the image with the button embedded, so it is all one image, and then link the whole image. This would same you from using the layerslider, I would still make two images for desktop and mobile but that would still be much smaller.Best regards,
MikeHi,
@sump22 I checked your site in Windows 10 with Chrome, Firefox, Edge, and your topbar & footer YouTube icons are showing correctly, I also used site-shot.com to ensure that they are available to other browsers. I’m not sure why you can not see your icon, other than something blocking it like an adblocker? I also see a FB script has an errorMinified invariant #11797; Params: 113 [Caught in: Module "VisibilityListener"]perhaps FB is blocking it, or is trying to monitor the clicks and is getting a js error? Try removing all FB widgets and scripts and see if that changes for you, if it was FB it could only target some people.Best regards,
MikeJune 7, 2021 at 12:52 am in reply to: Layerslider loading last – how do I get it to load first? #1304307Hi,
Thank you for your patience and thanks for the link to your site and login, when I checked your site on a Windows desktop there were a few css header, main menu, slider alignment issues, some of which were discussed above, I made a few adjustments in your Quick CSS to correct these, please see the screenshot in the Private Content area.
But it seems that your main concern is a LCP Issue which is that your decktop site is taking longer Than 4s to load, correct?
When I run a web page performance test on your dev site the longest test out of 3 tests is 3.2s, your avg is 2.7s and I don’t see that the slider image is loading last, it is #34 in the test

so I’m not sure what you are worried about, I don’t believe you are in any kind of Google jail, there are many SEO people that will say crazy things, try to not let them get into your head, your customers do not care what your SEO score is, they want to see your product. I hope this helps.Best regards,
MikeHey purmar,
Thank you for your patience and thanks for the link to your site, as I understand your request you would like the portfolio archive page items will open either an image or video in a lightbox. To do this scroll to the bottom of your portfolio item in the backend and change the Overwrite Portfolio Link setting to Define custom link you will then see the Link portfolio item to external URL option:

Then on the archive pages such as the category page, the portfolio item will open a lightbox:

This will help you link directly to a portfolio category and achieve your lightbox effect, unfortunately the sorting links in the portfolio element are not real and is controlled by javascript so directly linking is not possible.Best regards,
MikeHi,
Thank you for your patience but as I understand your request this can be done with an added custom script, basically, you will need to add all of the elements to your page and the script will hide some of the elements on page load, then when your button is clicked the script will show the hidden elements. Please see this post for a detailed example.
If you need further help to achieve this on your site then please create a test page on your site and create a new thread and include a recap, and a WordPress admin access in the Private Content area. Since this is not your thread posting your login here will not be private and you will not see anything we write in the Private Content area.
You can post a link to your new thread here so I can find it easier.Best regards,
MikeHi,
Thank you for your patience and the link to your site, I believe the issue is that when your page is scrolled and the header shrinks the nav is not adjusted to match, please try this css to correct, in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:#top #header.header-scrolled #header_main > .container .main_menu .avia-menu { top: 5px; }After applying the css, please clear your browser cache and check.
Best regards,
MikeHi,
Glad to hear that you have this sorted out, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
Best regards,
MikeHey Munford,
Sorry for the very late reply and thanks for the link to your page.
To set the header and the mobile video to 100% please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:@media only screen and (max-width: 767px) { .responsive #top.home #wrap_all #mobile > .container, .responsive #top #wrap_all #header_main > .container { width: 100%!important; max-width: 100%!important; } }After applying the css, please clear your browser cache and check.
Please see the screenshot in the Private Content area.Best regards,
MikeHey Reut Rachel,
Thank you for your patience and the links and the screenshots, I have reviewed your menu at many different screen sizes and recommend this css to correct it, please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:@media only screen and (min-width: 1440px) { .av-main-nav-wrap { transform: unset; left: unset; float: unset; justify-content: center; display: flex; } #header .main_menu { transform: unset; left: unset; width: 104% !important; } .logo, .logo a { height: 100px !important; } #header .logo img { max-width: 100px !important; } }After applying the css, please clear your browser cache and check. Please see the screenshot in the Private Content area.
I note that your logo is not transparent so it has a square white edge at higher screen sizes, I recommend correcting to a transparent logo edge.Best regards,
MikeHi,
Thanks for the login but I get the error “unknown user” please check. I also note that this is for a different staging site than your opening post, I tried the login on both, staging3 & staging4 but neither work, I also see that on staging3 the content shows before logging in like you noted above but not on staging4 so are you sure it has to do with logging in? Perhaps you were mixed up on which site you were on?
I also see that your live site is working correctly, including the mobile menu, and your live site and both staging sites are using version 4.7.6.4, so is your issue that you can not get the staging sites to work or is there an issue with your live site?Best regards,
MikeHi,
Thank you for your patience, but your content seems to be showing, can you include a login so we can look closer?
I noticed that you have this error showing in the browser console, perhaps try disabling the siteground-optimizer plugin
Uncaught SyntaxError: Unexpected token ‘!’ siteground-optimizer…eff09198bc46.js:242Best regards,
MikeHey wpcupid,
Thank you for your patience, there are a few Last Modified Date plugins that you could try, they don’t replace the published date but they do add schema for SEO:
WP Last Modified Info
Posts Modified Date
I did find this function for replacing the published date, I didn’t test it, but as the poster points out it could cause other issues, so I not sure if it is a good idea, but you could try it.function reset_post_date_wpse_121565($data,$postarr) { $data['post_date'] = $data['post_modified']; $data['post_date_gmt'] = $data['post_modified_gmt']; return $data; } add_filter('wp_insert_post_data','reset_post_date_wpse_121565',99,2);Best regards,
MikeHey mclweb,
Thank you for your patience and link to your page I saw this warning with Chrome, it is from your “Popup Maker” plugin when my ad blocker is active, please check the plugin settings or disable the plugin.Best regards,
MikeHey Henning,
Thank you for your patience and for the link to your page, please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:@media only screen and (max-width: 767px){ .responsive #top #wrap_all #project-hero-section > .container { width: 100%; max-width: 100%; } }After applying the css, please clear your browser cache and check.
Best regards,
MikeHey Wouter,
Thank you for your patience and the link to your screenshot so the place you are adding the background image is in the overlay itself, meaning it will cover your content. Typically the overlay is a color with opacity so the content can still be seen under it, the option for a “Custom Pattern”, which you have added an image to, is typically used for a transparent png block that adds a “pattern” to the overlay.
So to achieve the background image that you want please add your image to the color section “Background Image” and make your alignment selections.

Then for the overlay only choose your transparent color.Best regards,
MikeHey smorano,
Thank you for your patience, the map markers are designed to open tooltips with more info or images of the location and typically people add many markers to each map, but you could achieve this by adding a link to your tooltip for your map locations:

to get the link to the map on Google I copied the Google logo link at the bottom of the map.Best regards,
MikeHey missouriartscouncil,
Thank you for your patience and the link to your page, in this situation the whitespace separators are also getting a 50px top & bottom padding, we can remove this with this css for this one page by adding this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:#top.page-id-21587 [id^='after_submenu_'] > .container > .content { padding: 0; }If you would like to use this for other pages please adjust the page ID in the css
page-id-21587
After applying the css, please clear your browser cache and check.Best regards,
MikeHey lenalavendel,
Thank you for your patience and the link to your site, the reason the link opens a new tab is because WordPress is loading the audio player, I’m not sure that you can stop this but I found a recommendation here that might work
<embed src="/music/good_enough.mp3" width="180" height="90" loop="false" autostart="false" hidden="true" />
but since you are also using a shortcode in a hotspot it could be tricky, perhps there is a plugin that would do this, I did find a related support thread for this plugin that might do what you are asking.Best regards,
MikeHi,
When I check today your Mixed Content error is not showing and the font is now the same for mobile & desktop, please clear your browser cache and check.Best regards,
MikeHi,
Thank you for your interest in this old thread, I checked again with Enfold v4.8.3 and there is a margin-left: -40px please try changing to zero like this:#top #next-section-arrow .scroll-down-link { top: -9vh; left: 36vw !important; margin-left: 0px !important; }this seems to correct on my test site, if you don’t get the same results please link to your site.
Best regards,
MikeHey Francisco,
Thank you for your patience and the screenshot from which I checked your site and found that 18 of your fonts are getting the Mixed Content error:
Mixed Content: The page at '<URL>' was loaded over HTTPS, but requested an insecure font '<URL>'. This request has been blocked; the content must be served over HTTPS.this is because the page is https but the link to the font is http, these look like custom fonts so I assume you know where they are added and can adjust the url to https. Please try this and clear all caching and this should correct. Please see the screenshot in the Private Content area.Best regards,
MikeHi,
Thank you for the feedback, at 960px the section is still showing 2 columns, the break to 4 columns as shown in your screenshot occurs at 989px, then at that point the column width is 20.5% to account for the original margin spacing, so to correct this I recommend changing the column width to 23.5% with this css:@media only screen and (min-width: 989px) { .responsive #top.page-id-13 #wrap_all .flex_column.av_one_fourth { width: 23.5% !important; } }After applying the css, please clear your browser cache and check.
Best regards,
MikeHi,
Glad we were able to help, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)Best regards,
Mike -
AuthorPosts
