Hi,
Apologies, I misunderstood what you were trying to achieve. Add the following to quick css:
#top .single-product-main-image .thumbnails a{
width:15.3%!important;
}
This puts the thumbnails at 1×6. I based this off of the link you supplied above.
Best regards,
Jordan Shannon
Hi there,
I’d like to completely remove the space between Content and Sidebar on the right.
There are several threads depending on this.
I tried this code …
#content, .entry-no-pic .entry-content{
width:900px;
padding:0 0 50px 20px;
float: left;
margin:0 20px 0 0;
overflow: hidden;
}
… and this one …
.content, .sidebar {
padding-top: 50px;
padding-bottom: 10px;
}
but nothing changes at all!?
Can you help?
Thanks a lot!
KR – Marc
Hey netWKR,
I looked at your site and believe your goal is to get the thumbnails to open in lightbox.
Please try to call the lightbox with the class “.avia_activate_lightbox”.
I didn’t find any specific lightbox documentation, but I found: https://kriesi.at/support/topic/diable-the-enfold-lightbox-urgent/#post-193309 stating that the class “.avia_activate_lightbox” forces lightbox and the class “.noLightbox” prevents lightbox.
In my testing I found that removing the “target=’blank’” from you thumbnail and adding the class “avia_activate_lightbox” forced, or restarted, your lightbox.
(full class: “sit-tourism–lightbox lightbox-added avia_activate_lightbox”)
I’m not sure how you would add this to your code above, but I hope this will help.

Best regards,
Mike
Hello. There are times when the fully-licensed version of LayerSlider is needed. I’m looking for a comprehensive guide on how to properly implement and update LayerSlider, when the paid version is implemented with Enfold. From what I’m seeing, many people would benefit from this and it would reduce support requests in the future.
If we deactivate LayerSlider via functions.php and install the standalone version, we can control the update process, but then there are issues with the Advanced Layout Builder.? What are those issues specifically? What are the pros/cons of sticking with the embedded vs. the PAID version, besides being behind in the update cycle? Listing that would help the customer determine the route that best fits their situation?
If we stay with the embedded version of LayerSlider, we are typically multiple versions behind on updates, which puts customers at a potential security risk. Also, there are times when a fix is needed that we have to wait months for. We understand that Kriesi needs time to test the LayerSlider updates. However, customers who have paid for a full license, should get more/better/easier control of the updates and updates processes when it comes to LayerSlider. Even if Kriesi needs to issue a disclaimer for updating outside of what he has tested, that is fine. That should be up for customers to decide. In the end, those who have paid of a full license will/can/should get additional support from the LayerSlider support team.
Enfold customers need more guidance on this subject. This topic comes up in Social Media outlets and the answers are rarely consistent. We need an official guide from Enfold.
Thank you,
Ryan
Hello, trial&error is back.
Actually what I wanted I solved with following quick CSS:
#top .variations {
width: 25%;
}
in my case I will use variation only with one attribute and I found the full width table too big and not so good looking. right now the width of the table for selecting the variable product is only 25%, similar in size with the number of items and the add to cart which are below… a bit better looking from my perspective.
cheers!
-
This reply was modified 8 years, 11 months ago by
vladbejenaru.
Hey Bernd,
Not sure if it can easily be done, but you could try triggering with a script in your function, here’s such an example: https://kriesi.at/support/topic/adding-onclick-to-button/#post-417503
Best regards,
Mike
Hello,
I would like to bring the same topic up. I have added the above custom CSS to Quick CSS in Enfold -> General Styling -> Quick CSS but it has no effect on the input field for the variable products: the width of the td is still 100%.
Is there any update on the topic?
Thank you!
Hey DianaFuetterer,
Thank you for using Enfold.
Please remove the previous modifications then try to implement the solution in the following thread.
// https://kriesi.at/support/topic/product-image-low-quality-on-single-product-page/#post-788733
Best regards,
Ismael
Hi,
Thank you for the info.
Please add this css code in the Quick CSS field.
.av-special-heading:after {
content: '';
width: 200px;
height: 10px;
background: blue;
display: block;
margin-top: 10px;
margin-left: 60px;
}
The line is going to be applied on every special heading element so you have to enable the custom css class field.
// http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/
Apply a unique class attribute to the special heading.
Best regards,
Ismael
Hi,
I’m very sorry for the late response. We added this css code in the Quick CSS field.
.header-banner-below + .advertising-banners-div {
padding-top: 15px;
}
Please remove browser cache or hard refresh before checking the page.
Best regards,
Ismael
Hi,
What is the current theme version in your installation? The version 4.0.5 of the theme should be compatible with the latest version of the plugin. If you’re having trouble with the product images, please refer to this link.
// https://kriesi.at/support/topic/product-image-low-quality-on-single-product-page/#post-788733
Best regards,
Ismael
Hi Rikard,
Yes you can close the topic or even remove it as it just messes the forum;)
Best,
Edyta
Hi,
Please remove the css modification that was suggested previously then add this one.
@media only screen and (max-width: 767px) {
#top #wrap_all #socialsection .flex_column {
width: 33% !important;
float: left;
}
#top #wrap_all #socialsection .flex_column:nth-child(1), #top #wrap_all #socialsection .flex_column:nth-child(5) {
display: none !important;
}
}
Remove browser cache or hard refresh before checking the page.
Best regards,
Ismael
Hi,
I think I see the issue now. The display property of the sections or grids are already set to “block”. You just need to hide them on certain screen sizes. For example, please look for this css modification:
/* alternate Coaching travail grid for mobile devices */
@media screen and (max-width: 989px) {
#coaching-travail-desktop { display: none !important; }
#coaching-travail-mobile { display: block !important; }
}
@media screen and (min-width: 989px) {
#coaching-travail-desktop { display: block !important; }
#coaching-travail-mobile { display: none !important; }
}
Replace it with:
/* alternate Coaching travail grid for mobile devices */
@media screen and (min-width: 1025px) {
#coaching-travail-mobile { display: none; }
}
@media screen and (max-width: 1024px) {
#coaching-travail-desktop { display: none; }
}
Best regards,
Ismael
Hi,
I’m not sure, but maybe something like this would work instead of the current CSS?
#top .avia-layerslider .ls-wp-container{
margin:auto;
}
Best regards,
Rikard
Hi,
I create another thread because old thread is closed:
https://kriesi.at/support/topic/custom-id-for-layout-elements/
I have a solution for that:
(function ($) {
'use strict';
$(document).ready(function () {
// set id
(function () {
// console.log($('div[class*="js-set-id--"]'));
$('div[class*="js-set-id--"]').each(function () {
var $this = $(this);
var id = false;
var classes = $this.attr('class').split(' ');
for (var i = 0; i < classes.length; i++) {
var matches = /^js-set-id--(.+)/.exec(classes[i]);
if (matches != null) {
id = matches[1];
break;
}
}
if (id) {
$this.attr('id', id);
}
});
})();
});,
})(jQuery);
If you add js-set-id--element-id class to an element then that element has id element-id.
I hope it helps,
thanks.
-
This topic was modified 8 years, 11 months ago by
hayatbiralem. Reason: Cosmetic updates
For this is not a Relevanssi issue you can close this topic.
I made a new post: Excluding categories from archive but not from tag archive pages
Thanks and best regards,
Neverlands
Hi John,
thanks for your reply.
Maybe I didn’t explain clearly what I want to do.
Using the default archive page I only want to show posts of the top level categories and exclude posts of child categories.
I am not sure if tag archive pages use the same archive.php.
Because excluding a child category with Simply Exclude from archives, its posts also stop showing up in its own archive and in tag archive pages. So using Simply Exclude doesn’t seem to be the right solution.
Top Level Category
– – Child Category
On the archive htttp://www.example.com/top-level-category I only want to retrieve the posts of the top level category.
On a page with a tag cloud I have tags from posts of the child category. Clicking on a tag link which should return 5 posts of the child category there are no results.
Is there a filter that makes archive pages only show top level category posts and hides posts of child categories?
Best regards,
Neverlands
Sorry, I meant the server cache. It seems like any changes I make in Quick CSS and General Styling don’t take effect.
Just to rule out that possibility, please check if your server has a caching service enabled. You can also try the solution presented here: https://kriesi.at/support/topic/theme-options-general-styling-not-working/#post-257527
You can also try deactivating plugins and reactivating them one by one to see if there are conflicts.
Best regards,
Sarah
Hi,
Great, glad 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
Hey!
Please remove the filter then modify the config-woocommerce > config.php file, remove everything then replace it with the following.
// https://pastebin.com/rYaHKWBz
In the functions.php file, add this code.
add_action( 'after_setup_theme', 'ava_new_product_gallery_support_mod', 10);
function ava_new_product_gallery_support_mod() {
add_theme_support( 'wc-product-gallery-zoom' );
add_theme_support( 'wc-product-gallery-lightbox' );
add_theme_support( 'wc-product-gallery-slider' );
add_theme_support( 'avia-new-product-gallery-feature' );
}
Add this code in the Quick CSS field or the child theme’s style.css file:
.single-product div.product .woocommerce-product-gallery {
margin-bottom:2.617924em;
margin-top:0;
}
.single-product div.product .woocommerce-product-gallery {
position:relative;
}
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
position:absolute;
top:.875em;
right:.875em;
display:block;
height:2em;
width:2em;
border-radius:3px;
z-index:99;
text-align:center;
text-indent:-999px;
overflow:hidden
}
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger:before {
font:normal normal normal 1em/1 FontAwesome;
font-size:inherit;
text-rendering:auto;
-webkit-font-smoothing:antialiased;-
moz-osx-font-smoothing:grayscale;
display:block;
content:"\f00e";
line-height:2;
text-indent:0
}
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger img{
display:none!important
}
.single-product div.product .woocommerce-product-gallery img{
margin:0
}
.single-product div.product .woocommerce-product-gallery .flex-viewport{
margin-bottom:1.618em
}
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs{
margin:0;
padding:0
}
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs:after,.single-product div.product .woocommerce-product-gallery .flex-control-thumbs:before{
content:"";
display:table;
}
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li{
list-style:none;
margin-bottom:1.618em;
cursor:pointer;
}
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img {
opacity:.5;
-webkit-transition:all,ease,.2s;
-moz-transition:all,ease,.2s;
transition:all,ease,.2s
}
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active,.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li:hover img{
opacity:1
}
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li{
width:42.8571428571%;
float:left;
margin-right:14.2857142857%;
}
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li:nth-child(2n){
margin-right:0
}
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li{
width:23.8095238%;
float:left;
margin-right:14.2857142857%;
}
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li:nth-child(3n){
margin-right:0;
}
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li{
width:14.2857142857%;
float:left;
margin-right:14.2857142857%;
}
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n){
margin-right:0;
}
.single-product div.product .images .woocommerce-main-image{
margin-bottom:1.618em;
display:block;
}
.single-product div.product .images .thumbnails a.zoom{
display:block;
width:22.05%;
margin-right:3.8%;
float:left;
margin-bottom:1em;
}
.single-product div.product .images .thumbnails a.zoom.last{
margin-right:0;
}
Regards,
Ismael
Hi @Terve,
Thanks for the feedback, much appreciated. We’ll have a look at having the scroll to top button active by default for mobile devices.
Best regards,
Rikard
Hey jolian123,
I am not sure that I understand your question, so, do you want to avoid that the link back to top again?
Best regards,
John Torvik
Hi,
Ok, thanks for the feedback. Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
Rikard
Hey James,
Please see our documentation here: https://kriesi.at/support/topic/creating-anchors-on-page-to-link-to-from-within-page/
You can also add a Code Block element to your page above “testimonials” or whatever content you’re pointing to, and insert following
<div id="testimonials"></div>
Then set your button element to link to #testimonials.
Best regards,
Sarah
Hey agameseo,
Can you try if the solutions presented here: https://kriesi.at/support/topic/insert-your-own-icons-in-icon-box/
Best regards,
Sarah
My site is https://ajdesignco.com/
These pages have an odd issue that just started showing up:
https://ajdesignco.com/services/smart-web-hosting
https://ajdesignco.com/services/smart-domain-name-registration
https://ajdesignco.com/color-section-special-heading-test
That last one is a new page I created specifically to test this issue.
The first link (https://ajdesignco.com/services/smart-web-hosting) contains a Special Heading element that is supposed to display this text:

Can you help me understand why that element isn’t showing up? I tested it in Safari, Chrome, and Brave with the same result.
This may be part of the problem:
https://kriesi.at/support/topic/some-issues-with-visual-compose-environment-of-text-block-element/
My client’s homepage LayerSlider was offset horizontally somehow. We’re on the latest Enfold 4.0.5, but LayerSlider says 6.2.2 is out-of-date (6.4.0 is available.
Anyway, through the Inspect tool, I saw that disabling a rule in enfold/css/shortcodes.css fixed my problem, allowing the LayerSlider element’s CSS to take effect. I disabled the rule on line 4470:
#top .avia-layerslider .ls-wp-container{
/* margin:0px auto !important; */
}
My question is: if I wanted to put this modification into my child theme, how would I do that? Or, is there a better way to solve this problem, where the slider was moved to the right of center?
Oh, the slider was fine when the window was narrowed down, but it got worse and worse as I widened the page to 2560px.
Hi Team,
I’m having an anchor issue.
I have made several anchors on my landing page which works fine if i’m on the original page, but as soon as I go to another page and click the anchor links in my header they auto scroll back to the top of the page.
See the gif below, the example is of the Profit anchor.
View post on imgur.com
Thanks