Forum Replies Created
-
AuthorPosts
-
Hi yannickokken,
On mobile devices, alignment is disregarded because it employs a block layout. Conversely, desktop uses a table layout, which is unsuitable for narrow layouts. Hence, the table layout is converted to a block layout on mobile.
Please try to replace Ismael’s code with this:@media only screen and (max-width: 767px) { #top #wrap_all .flex_column_table .flex_column { display: flex; flex-direction: column; justify-content: center; } }
Hope it helps.
Best regards,
NikkoHi sarthakchoudhary,
I see, then I think you should only add it via CSS.
Just add this CSS code in Enfold > General Styling > Quick CSS:.page-id-1 #footer { background-image: url(https://website.com/themes/wp-content/uploads/2023/03/footer_bg.jpg); background-size: cover; }
Then just replace 1 in page-id-1 with the correct ID number.
Here’s how you can find the page id number: https://wpdatatables.com/how-to-find-page-id-in-wordpress/
If you need to apply it in multiple pages, just copy and paste the code and replace the ID.
Hope it helps.Best regards,
NikkoHi dowlassmoss,
Is it bought recently? there are only two items under Kriesi which you can verify here: https://themeforest.net/user/kriesi/portfolio
Also, we have mega menu already included in the theme and it’s not a separate item.Best regards,
NikkoHi SyberKnight,
avia_framework_post only includes things that are in Theme Options like logo, favicon, custom background image, etc.
Best regards,
NikkoHi sarthakchoudhary,
Please go to Enfold > General Styling > Footer (tab) > Background Image set to Upload custom image then add the Custom Background Image
Hope it helps.Best regards,
NikkoMarch 10, 2023 at 9:28 pm in reply to: Corrupt Files, Spacebar not working, and template files out of date #1400781Hi simplycoding15,
Please check on Tools > Site Health > Info (tab) > Filesystem Permissions and check if permissions are writable, this can only be changed via your server or cpanel.
As for template files showing, I think you will need to modify your child theme from using template files to override certain functions to using woocommerce hooks & filters. Otherwise, everytime you update woocommerce and some of those files are updated then you will always have to update those files in your child theme as well.Best regards,
NikkoHi whdsolutions,
It seems that you have an inline style on the body tag that’s forcing content to align center.
You can override this by adding this CSS code in Enfold > General Styling > Quick CSS:#top { text-align: inherit !important; }
Best regards,
NikkoHi andupro,
Please add this code in functions.php of your child theme, if you don’t have a child theme then you can use the plugin called WPCode to insert this code snippet:
add_filter( 'avf_wc_before_shop_loop_item_title_img_size', 'avf_wc_before_shop_loop_item_title_img_size_mod', 10, 1 ); function avf_wc_before_shop_loop_item_title_img_size_mod( $thumbnail_size ) { return 'woocommerce_thumbnail'; }
I hope it helps.
Best regards,
NikkoHi Gianluca,
I see, please replace the code I gave with this one:
.av-magazine .av-magazine-hero .av-magazine-content-wrap .av-magazine-title { font-size: 18px; }
Best regards,
NikkoHi Veronika,
Can you set up a staging site for us? so we can investigate the issue further since we might need to disable some plugins.
Best regards,
NikkoHi Gianluca,
You can change it by adding this CSS code in Enfold > General Styling > Quick CSS (just change the font size value):
.home .av-magazine .av-magazine-content-wrap .av-magazine-title { font-size: 18px; }
Hope it helps.
Best regards,
NikkoHi Silvio,
The child theme won’t get updated unless you make a change to it, only the parent theme (Enfold) gets updated.
We’ll wait for the staging site then.Best regards,
NikkoHi troupdim,
Here’s how you can register the theme: https://kriesi.at/documentation/enfold/theme-registration/#register-my-theme
Hope it helps.Best regards,
NikkoHi satucker,
You can put back the original code on the other files.
Just make sure every time you update the theme, you’ll need to update this file as well since updates remove all changes you made in the Enfold theme.Best regards,
NikkoMarch 3, 2023 at 7:41 am in reply to: CAN I ADD A RETURN (LINE RETURN) IN THE ENFOLD CAPTION AND SUB-HEADING TEXT #1399934Hi M-Graphics24,
I’m glad that Rikard could help you :)
Thanks for using Enfold and have a great day!Best regards,
NikkoMarch 3, 2023 at 7:41 am in reply to: Avia builder not loading when gravity forms is enabled #1399933Hi navindesigns,
Thanks for providing us with the staging site and admin credentials.
For some reason “jQuery is not defined” is showing in the web console when Gravity Forms is enabled on your end, I tried to compare it with my enfold install but could not replicate the same issue.
It is working properly now after I have added this code in wp-config.php:define('CONCATENATE_SCRIPTS', false);
Best regards,
NikkoMarch 3, 2023 at 6:06 am in reply to: Adding post categories to each post on the Blog Posts Content Element #1399930Hi Sean,
You will need a child theme for this, if you don’t have one yet, please download it and find instructions here: https://kriesi.at/documentation/enfold/child-theme/ then do the following steps:
1. Add this code in the functions.php of your child theme (if you already have a child theme, just add this if this function if it is not yet added to the child theme):add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1); function avia_include_shortcode_template($paths) { $template_url = get_stylesheet_directory(); array_unshift($paths, $template_url.'/shortcodes/'); return $paths; }
2. Add this as well in the functions.php of the child theme:
function get_the_term_list_mod( $post_id, $taxonomy, $before = '', $sep = '', $after = '' ) { $terms = get_the_terms( $post_id, $taxonomy ); if ( is_wp_error( $terms ) ) { return $terms; } if ( empty( $terms ) ) { return false; } $links = array(); foreach ( $terms as $term ) { $link = get_term_link( $term, $taxonomy ); if ( is_wp_error( $link ) ) { return $link; } $links[] = '<a href="' . esc_url( $link ) . '" class="' . $taxonomy . '" rel="tag">' . $term->name . '</a>'; } $term_links = apply_filters( "term_links-{$taxonomy}", $links ); return $before . implode( $sep, $term_links ) . $after; }
3. Add a new folder to the child theme and call it shortcodes
4. Copy postslider folder (from the parent theme) wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/ to the newly created shortcodes folder.
5. Edit wp-content/enfold-child/shortcodes/postslider/postslider.php (line 969)
$cats .= get_the_term_list( $the_id, $taxonomy, '', ', ', '' ) . ' ';
replace it with:
$cats .= get_the_term_list_mod( $the_id, $taxonomy, '', ', ', '' ) . ' ';
Hope this helps.
For further information on how to Add or Override Elements in Avia Layout Builder, please check our documentation: https://kriesi.at/documentation/enfold/intro-to-layout-builder/#add-elements-to-alb
Best regards,
NikkoHi Darren,
Can you setup a staging site for us? it’s basically just a duplicate of your live site and placed on a subdomain where we can try to update without affecting your live site, some hosting provider offer an option to create a staging site via cpanel, but your webhost does not have it on your Cpanel then you can use a plugin, please check this tutorial: https://wpengine.com/resources/what-is-a-staging-site-why-have-one/#How_to_Create_a_Staging_Site_for_WordPress
Just post the credentials in private content.Best regards,
NikkoHi satucker,
Can you try to modify enfold/framework/php/widgets/widget-classes/class-avia-newsbox.php (line 121):
$additional_loop = new WP_Query( "cat={$cat}&posts_per_page={$count}" );
replace it with:
$additional_loop = new WP_Query( "cat={$cat}&posts_per_page={$count}&order=ASC" );
Hope it helps.
Best regards,
NikkoMarch 3, 2023 at 4:14 am in reply to: enfold Fullwidth Easy Slider caption text drop shadow #1399926Hi bemodesign,
The CSS class you are using seems already specific, however if you really want to target the page/post as well then:
If it’s a page, then it will have this unique id in the body page-id-25 (where 25 is page id number), so you can set it specifically like this:
.page-id-25 .av-special-heading.av-nlr5x-bb365aeef7c91c871c871ed41100301d h1 { text-shadow: 2px 2px black; }
If it’s a post then you can use .single-post.postid-15 (where 15 is the post id number):
.single-post.postid-15 .av-special-heading.av-nlr5x-bb365aeef7c91c871c871ed41100301d h1 { text-shadow: 2px 2px black; }
Hope it helps.
Best regards,
NikkoHi Roger,
The second background image seems to have an extra double quote, please try to remove it.
Also, please try to disable Javascript File Merging And Compression temporarily.Best regards,
NikkoHi Elena,
Thanks for giving us admin access.
Instead of centering the masonry, I have set the columns of your masonry to 5 (this can be changed when you edit Masonry > Styling > Columns > Column Count.
As for the masonry title, it’s fetching from the h3 settings, to fix it, I have added this CSS code:#top #wrap_all .all_colors .av-masonry-entry-title { color: white; font-size: 30px; line-height: 1; }
Please review your site.
Best regards,
NikkoHi Jonas,
You just need to change the background size from contain to cover, and add a line-height of 30px, so your first code block should look like this:
span.av-seperator-icon { background-image: url(https://kriesi.at/wp-content/themes/kriesi/images/logo.png)!important; background-size: cover; background-repeat: no-repeat; width: 150px; line-height: 30px; }
Hope it helps.
Best regards,
NikkoMarch 3, 2023 at 3:28 am in reply to: a pattern in the background PLUS Pictures in Background #1399920Hi Monika,
The body background is correct however, there are 2 problems that I could see.
1. There’s a container with white background, but it can be fixed by adding this CSS code:
.main_color { background-color: transparent !important; }
2. The third file as I have mentioned needs to have a transparent background and not white and should be in a png format, since jpg does not support transparency, so it should not be bg.jpg but bg.png
Best regards,
NikkoHi Silvio,
I apologize if the changes I made caused any issues, can you setup another staging site? I thought the link you gave was a staging site because of its subdomain name.
The screencast I posted shows it works properly when I have disabled the caching plugin and have switched to the parent theme, which suggests that the problem is most likely on the child theme.
I have also tested this on my enfold install however I could not reproduce the same issue, maybe your child theme has some js scripts/code that maybe interferring with the load more button function.Best regards,
NikkoHi Veronika,
That code is used for the pinterest button (to make it bigger): https://imgur.com/a/0gdG2c1
Without it, it would look like: https://imgur.com/a/9pDPRZtAs for https://imgur.com/OigJ8xH I have added this CSS code in your Quick CSS to fix it:
#top .av-social-sharing-box .av-social-link-pinterest > a { text-indent: 9999em; background-color: transparent !important; background-position: center; background-size: 16px; box-shadow: none; padding: 15px 0; position: relative; top: -3px; } #top .av-social-sharing-box .av-social-link-pinterest > a:hover { background: transparent url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzBweCIgd2lkdGg9IjMwcHgiIHZpZXdCb3g9Ii0xIC0xIDMxIDMxIj48Zz48cGF0aCBkPSJNMjkuNDQ5LDE0LjY2MiBDMjkuNDQ5LDIyLjcyMiAyMi44NjgsMjkuMjU2IDE0Ljc1LDI5LjI1NiBDNi42MzIsMjkuMjU2IDAuMDUxLDIyLjcyMiAwLjA1MSwxNC42NjIgQzAuMDUxLDYuNjAxIDYuNjMyLDAuMDY3IDE0Ljc1LDAuMDY3IEMyMi44NjgsMC4wNjcgMjkuNDQ5LDYuNjAxIDI5LjQ0OSwxNC42NjIiIGZpbGw9IiNmZmYiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxIj48L3BhdGg+PHBhdGggZD0iTTE0LjczMywxLjY4NiBDNy41MTYsMS42ODYgMS42NjUsNy40OTUgMS42NjUsMTQuNjYyIEMxLjY2NSwyMC4xNTkgNS4xMDksMjQuODU0IDkuOTcsMjYuNzQ0IEM5Ljg1NiwyNS43MTggOS43NTMsMjQuMTQzIDEwLjAxNiwyMy4wMjIgQzEwLjI1MywyMi4wMSAxMS41NDgsMTYuNTcyIDExLjU0OCwxNi41NzIgQzExLjU0OCwxNi41NzIgMTEuMTU3LDE1Ljc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cuNjM3IEMyMS45NSwyNy42MzcgMjcuODAxLDIxLjgyOCAyNy44MDEsMTQuNjYyIEMyNy44MDEsNy40OTUgMjEuOTUsMS42ODYgMTQuNzMzLDEuNjg2IiBmaWxsPSIjZTYwMDIzIj48L3BhdGg+PC9nPjwvc3ZnPg==) center center no-repeat !important; background-size: 16px !important; }
Please review your site.
Best regards,
NikkoHi Illingco,
You’re welcome :)
Thanks for using Enfold and have a great day!Best regards,
NikkoHi Sandy Hughes,
Thanks for contacting us!
Since you are still using Enfold 4.4.1, you will most likely need to use this plugin to update the theme: https://www.envato.com/lp/market-plugin/
Please generate a personal token and see further instructions here: https://kriesi.at/documentation/enfold/theme-registration/#how-to-generate-a-envato-personal-token
Make sure that you are logged in using your ThemeForest account that has already purchased Enfold theme when you generate a personal token.
Also, make sure to have a backup first before doing any updates.Best regards,
NikkoHi troupdim,
Yes, since your main domain and subdomain seems to serve the same purpose.
Please refer to this thread for further information: https://kriesi.at/support/topic/enfold-multisite-2/Best regards,
NikkoHi Akif,
Thanks for contacting us!
Yes, you will need to purchase the theme in order to update it.
And since it has been years since it was last updated you will most likely need to use this plugin to update the theme: https://www.envato.com/lp/market-plugin/
To register the theme and be able to update it via Theme Options, please see the instructions here: https://kriesi.at/documentation/enfold/theme-registration/#how-to-generate-a-envato-personal-token
Just make sure to have a backup first before doing any updates.Best regards,
Nikko -
AuthorPosts