Forum Replies Created
-
AuthorPosts
-
Hi,
Sorry about that, looks like I forgot a line, please try this instead:function custom_next_prev(){ ?> <script> (function($){ $(document).ready(function(){ var getprev = $("a.avia-post-nav.avia-post-prev").attr("href"); var getnext = $("a.avia-post-nav.avia-post-next").attr("href"); $(".woocommerce-product-details__short-description .avia-buttonrow-wrap a.avia-button:nth-child(2)").attr("href", getprev); $(".woocommerce-product-details__short-description .avia-buttonrow-wrap a.avia-button:nth-child(3)").attr("href", getnext); }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_next_prev');Best regards,
MikeHi,
@Kahil I tried to simulate this by adding a button to one of my pages for it to open the editor in a popup iframe, but I noticed that the link had two question marks where you should only use one, so please try this format:
http://test.test/wp-admin/post.php?post=626&action=edit&iframe=true

Best regards,
MikeJanuary 25, 2020 at 2:32 pm in reply to: set the same font for different languages frontpage #1178360Hi,
Thank you, I tried to look in the layerslider documentation for another way to better fine-tune the background-position for different screen widths, but I didn’t find one. It seems that the layers have better control, so perhaps if your background was just white and you added the images as another layer you can set a position from the top top as a pixel value

or you could try creating different sliders for different screens as your suggestion.Best regards,
MikeJanuary 24, 2020 at 2:52 pm in reply to: How to enable (small) fixed/sticky header for mobile/tablet? #1178127Hi,
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: 989px) { .html_stretched.responsive.html_mobile_menu_tablet.html_header_top #top #main { margin-top: 90px !important; } .html_stretched.responsive.html_mobile_menu_tablet #top #wrap_all #header { position: fixed !important; } }After applying the css, Please clear your browser cache and check.
Best regards,
MikeHi,
No, it’s fine, just glad we could help, unless there is anything else we can help with on this issue, shall we close this then?Best regards,
MikeHi,
Sorry for the late reply, and thank you for the login, I have investigated your issue with the button colors and found that your default color options are not correct, in this screenshot I compare my theme color options with yours and you will see that you are missing the “Theme Color Highlight” option:

but if you look at the source code for the element you will see that when you choose “Theme Color” it is actually setting the “Theme Color Highlight” option:

when I change the language setting in the user profile for the “enfold” user that you gave us to English the correct “Theme Color” color option returns. I was able to reproduce this error on my localhost.
So I edited the fr_FR language files to correct this and it seems to work on my localhost, so please try downloading the language files linked in the Private Content area and upload them to your site via FTP at\wp-content\themes\enfold\lang\
please save a copy of your original files in case you encounter an error.
fr_FR.po & fr_FR.mo
I used Google Translate to make “Theme Color Highlight” read “Surbrillance de la couleur du thème” I hope this is correct.
After you upload the files please clear your browser cache and try selecting the colors again for the buttons to see if you have the correct options.Best regards,
MikeHi,
Thank you for the ftp login, I also got the white screen when I renamed the themes, that was unexpected, I guess it has to do with your version of WordPress 4.9.13, I also understand why you want to wait to update WordPress.
Please check your webhost to see if you have the one-click staging site option, this is an option in most cPanels to create a staging clone of your site so you can test on it and your live site will stay up and running untouched.
Here are some screenshots of what it would look like:


If you can set up the staging clone then you can try updating WordPress first on it and then rename the themes to update, and then you can test the site well to ensure everything works well, and if something needs to be corrected we can work on the clone, that way you will be prepared for when you try this for your live site.
Should the stanging clone crash when you update WordPress still try renaming the themes to update because it could just be the Enfold v4.4.1 having a hard time with WordPress v5.3.2
If it’s a total loss you can always delete the staging clone and create a new one and we will try something else.
I also recommend using your webhosting backup tool to create a full backup, it’s good practice to do so.Best regards,
MikeJanuary 24, 2020 at 11:07 am in reply to: set the same font for different languages frontpage #1178075Hi,
I see that you were using HTML inline commenting in your css:<!-- Table styling -->
so I corrected to css inline commenting:/* Table styling */
and now your css is working, please clear your browser cache and check.Best regards,
MikeHi,
@jr-music thanks for the login, you wrote:Once I renamed the folder everything was white and nothing was working so I had to revert
so did you do this via FTP? You would rename your old theme “enfold-old” and your new theme “enfold” via FTP whichever theme folder is named “enfold” is the one that will be active.
The only customization I saw in your functions.php was:/** * Remove the generated product schema markup from Product Category and Shop pages. */ function wc_remove_product_schema_product_archive() { remove_action( 'woocommerce_shop_loop', array( WC()->structured_data, 'generate_product_data' ), 10, 0 ); } add_action( 'woocommerce_init', 'wc_remove_product_schema_product_archive' );so you will want to add this to your new functions.php after renaming the theme folders, do you think there are other files that have been edited?
If you still have an issue then please include ftp access and we can help.Best regards,
MikeJanuary 23, 2020 at 2:25 pm in reply to: set the same font for different languages frontpage #1177609Hi,
Thank you for the video, so the reason the page has a slight scroll is because the layerslider is set to 100% visual height and then you have a small footer at the bottom of the page.
So to correct we will make the layerslider 92% percent high so the footer will also show without scroll.
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: 767px) { #top.home #layer_slider_1 { height: 92vh !important; } }please feel free to adjust to suit.
I didn’t understand your second question about the logo, do you want the logo on the right of the site name? When I look on a desktop screen I don’t see this, I see that the site name and the logo together is one image. Perhaps you had a different image you were using at one time?Best regards,
MikeHi,
Glad to hear this works, I had added the post ID (#top.postid-41520) to the code for it to work on the one post to test, and I was not sure if each post was going to be the same or not. You can remove the “#top.postid-41520” part of the code.So I investigated this further and created a test post on your site and found that this css in the theme was causing the issue:
.avia_mobile .avia-full-stretch { background-attachment: scroll !important; }So even though you had set the image to “fixed” it was actually getting set to “scroll” and moved the image up and was clipped, I corrected by adding this css in your Quick CSS:
.avia_mobile #top #main .avia-bg-style-fixed .avia-full-stretch { background-attachment: fixed !important; }Please clear your browser cache and check the test post on mobile. Then please check your other pages on mobile to see if is working for them and if so you can remove the first css I gave you, or use both, it’s up to you.
You may find the first css handy to fine tune some background positions with a pixel value rather than a basic “top” or “center”
For your other question, you can define this custom css with a class and add the class in the color section, please let us know if you still want to do this, I’m not sure if the new info changes your thought about this.Best regards,
MikeHi,
For the table to have a max width of 270px (70px+200px) please try this css:@media only screen and (min-width: 768px) { #top.single-product .avia-data-table th.avia-desc-col { text-align: right !important; width: 70px !important; padding: 0px !important; } #top.single-product .avia-data-table .avia-highlight-col { width: 200px !important; } #top.single-product div .avia-table { width: 270px !important; } }but I find that the first column text is larger than 70px, you can change the values in the code to suit, perhaps to 100px for the first column, 300px for the second, and 400px for the total table width.
@media only screen and (min-width: 768px) { #top.single-product .avia-data-table th.avia-desc-col { text-align: right !important; width: 100px !important; padding: 0px !important; } #top.single-product .avia-data-table .avia-highlight-col { width: 300px !important; } #top.single-product div .avia-table { width: 400px !important; } }also if you want the rows in the second column to have the same background colors, the change the second column to default from highlight:

Best regards,
MikeHi,
Thank you for the screenshot mockup, first add this css to remove the blue circles and gray line, Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:.avia-toc-style-elegant { padding-left: 0px !important; } .main_color .avia-toc-style-elegant a:first-child:after, .main_color .avia-toc-style-elegant a.avia-toc-level-0:after { border-color: #fff !important; } .main_color .avia-toc-style-elegant a:before { border-color: #fff !important; }Then to add a number before each TOC link Try adding this code to the end of your functions.php file in Appearance > Editor:
function custom_toc_script(){ ?> <script> (function($){ $(document).ready(function(){ var i = 0; $('a.avia-toc-link').each(function(index, element){ i++; $(element).text(i + '. ' + $(element).text()); }); }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_toc_script');unfortunately, since the number is added to the link we can not change the color to red as in your mockup, I also only tested this on a TOC with no childern, as in your mockup.
This is the expected results:

Please clear your browser cache and check.
If this doesn’t help please include the url to the page in question so we can take a closer look.Best regards,
MikeHi,
Thank you for the feedback, to adjust the space between these rows please try this css in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field, I assigned percentages so the values would be somewhat flexible, and targeted the main screen sizes, 425px and under for mobile, 768px, 1024px, 1440px, and above for desktop, and included a little extra around these sizes. This should cover all real devices.@media only screen and (min-width: 1299px) { #top.home #av_section_1 > div > div.container > main > div > div > div:nth-child(4) { margin-top: -10% !important; } } @media only screen and (min-width: 999px) and (max-width: 1050px) { #top.home #av_section_1 > div > div.container > main > div > div > div:nth-child(4) { margin-top: -25% !important; } } @media only screen and (min-width: 768px) and (max-width: 800px) { #top.home #av_section_1 > div > div.container > main > div > div > div:nth-child(4) { margin-top: -40% !important; } } @media only screen and (max-width: 767px) { #top.home #av_section_1 > div > div.container > main > div > div > div.flex_column_table > div.flex_column:nth-child(n+2),#top.home #av_section_1 > div.av-section-color-overlay-wrap > div.container > main > div > div > div:nth-child(4) { margin-top: -30% !important; } }After applying the css, Please clear your browser cache and check.
Best regards,
MikeHi,
Thanks for the link, I tested your site in Chrome, Firefox, Edge & IE11 but couldn’t find any errors please include a screenshot of the error that you are seeing.
You can add screenshots by uploading your images to a service such as postimages.org and pasting the html code, or link given in your post or Private Content area.Best regards,
MikeJanuary 22, 2020 at 12:14 pm in reply to: Headline Rotator centre alignment not working for Prepended static text line #1177146Hi,
Sorry I was not able to see your page because it is in maintenance mode. I recommend opening a new thread with your admin login in the Private Content area, Since this is not your thread posting your login here will not be private. You can post a link to your new thread here so it will be easier to find.Best regards,
MikeJanuary 22, 2020 at 12:00 pm in reply to: Purchased theme and have 404 errors – installed on a staging area #1177136Hi,
For the full-screen video try using the layerslider with a video background, for the header to show while scrolling up try this solution.Best regards,
MikeJanuary 22, 2020 at 3:51 am in reply to: set the same font for different languages frontpage #1176998Hi,
Thanks for the video, I took a look and cleared my cache and the 3 pages look correct, when you clear your cache in Chrome try hitting “F-12” to bring up the developers tools and then right click on your reload button and choose “empty cache and hard reload”
you can only get this menu option when the developers tools are showing, it looks like this:

Best regards,
MikeHi,
Thanks for the FTP access, I tried to upload the new theme but about halfway though I got the error:
550 Can't create directory: Disk quota exceeded
Please check with your webhost to remove the Disk quotaBest regards,
MikeJanuary 21, 2020 at 2:49 pm in reply to: set the same font for different languages frontpage #1176751Hi,
I took a look at your slider on your 3 home pages and it seems to be working, Please see the screenshots in Private Content area.
But I made a video of the steps I took last time, I first deleted the current layerslider translations, and went back to the screen to show it was gone, then I opened and saved the layerslider so it would be in the translations again, to my surprise they were already translated, so I added the number “1” to the translations to show editing them would work, then I went to all 3 homepages to see if the number “1” was there, and it was.Best regards,
MikeHi,
Yes, you can add the page IDs into the code like this:@media only screen and (max-width: 767px) { #top.page-id-10767 .header_color .header_bg,#header_meta { background-color: transparent !important; } #top.page-id-10767 .logo img { opacity: 0; } #top.page-id-10767 .logo a { background-image: url(https://scalpinnovation.dk/wp-content/uploads/2018/01/scalpinnovation-header-logo-neg-1.png); background-repeat: no-repeat; background-size: contain; } #top.page-id-10767 .header_color:not(.av_header_transparency) div .av-hamburger-inner,#top.page-id-10767 .header_color:not(.av_header_transparency) div .av-hamburger-inner:before,#top.page-id-10767 .header_color:not(.av_header_transparency) div .av-hamburger-inner:after,.html_av-overlay-side-classic #top.page-id-10767 .av-burger-overlay li li .avia-bullet { background-color: #fff !important; } #top.page-id-10767 .header_color:not(.av_header_transparency) .social_bookmarks a { color: #fff !important; } #top.page-id-10767 .avia-menu.av_menu_icon_beside { border-right-width: 0 !important; } }just adjust the page IDs to suit, this is the page ID to the page we have been testing on.
Best regards,
MikeHi,
You will have to change your cookie settings “Default Cookie Behaviour” to “All cookies and services are accepted on first page load, user can opt out”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,
I did a quick search & test for a popup plugin and found WP Popups it says it works with CF7 and in my test it worked fine with Enfold and the Enfold shortcode and was able to link to a button using a custom class trigger in the popup options, you’ll see the option under triggers when you build your popup.As for the next & previous, we don’t have an easy way to add these into a custom location or assign them to different buttons like you are asking, but I was able to write this function to get the current next & previous links and replace the links in your custom buttons. This will work now but if your buttons change when you add the popup we may need to adjust the script, but after that it should work for every product.
Try adding this code to the end of your functions.php file in Appearance > Editor:
function custom_next_prev(){ ?> <script> (function($){ $(document).ready(function(){ var getprev = $("a.avia-post-nav.avia-post-prev").attr("href"); var getnext = $("a.avia-post-nav.avia-post-next").attr("href"); $(".woocommerce-product-details__short-description .avia-buttonrow-wrap a.avia-button:nth-child(2)").attr("href", getprev); $(".woocommerce-product-details__short-description .avia-buttonrow-wrap a.avia-button:nth-child(3)").attr("href", getnext); }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_next_prev');Best regards,
Mike-
This reply was modified 5 years, 3 months ago by
Mike. Reason: correct an error
January 21, 2020 at 3:57 am in reply to: set the same font for different languages frontpage #1176537Hi,
I think that polylang & layerslider was difficult to work with as the polylang support threads pointed out but I was glad that it finally worked. Perhaps you would not need to change the layerslider translations again once your final edit is sorted out so maybe it worth giving it one more try? But if you think you are going to make many changes to the layerslider then perhaps WPML would be better.Best regards,
MikeHi,
Thank you for the feedback, I assume that you would like the white header before scroll and transparent after scroll with a white burger menu and social icons, in this case please try this css:@media only screen and (max-width: 767px) { .header_color .header_bg,#header_meta { background-color: transparent !important; } .logo img { opacity: 0; } .logo a { background-image: url(https://scalpinnovation.dk/wp-content/uploads/2018/01/scalpinnovation-header-logo-neg-1.png); background-repeat: no-repeat; background-size: contain; } .header_color:not(.av_header_transparency) div .av-hamburger-inner,.header_color:not(.av_header_transparency) div .av-hamburger-inner:before,.header_color:not(.av_header_transparency) div .av-hamburger-inner:after,.html_av-overlay-side-classic #top .av-burger-overlay li li .avia-bullet { background-color: #fff !important; } .header_color:not(.av_header_transparency) .social_bookmarks a { color: #fff !important; } .avia-menu.av_menu_icon_beside { border-right-width: 0 !important; } }Please see the screenshot in Private Content area.
I see that when your site is at tablet width, which is above 768px your header is not sticky and so doesn’t become transparent, so I assume what you meant was when it is below 767px while the header is still sticky?
After applying the css, Please clear your browser cache and check.Best regards,
MikeHey Wagner Henrique,
Thanks for your question, since v4.0.7 Enfold has grown a lot, to upgrade from this version you will have to do so via FTP, please ensure your PHP version is 7.x and follow these steps:
The easiest and safest way to update is to download the newest version from Theme Forest and rename your current theme folder to “enfold-old” via ftp then upload the new “enfold” folder and check that your site is working correctly.
Should for some reason you wish to roll-back to the old version, it’s easy to do, simply rename the new “enfold” folder to “enfold-new” via ftp and then rename “enfold-old” to “enfold” then refresh your page.
Once you are happy you can delete the “enfold-old” folder via ftp, (not the WP theme page)
Please don’t try to overwrite the theme folder, as this will leave old files behind and cause errors.As for your questions I will try to answer them below:
1 – Do I need to configure the whole site again after an upgrade?
no
2 – Do I need to create the website pages again?
no
3 – Did you have speed gains from version 4.0.7 to version 4.7.1?
yes, please see this post and this one.
4 – Does the new theme support an E–commerce?
yes – woocommerce is well supported
5 – Does the new theme have SEO?
yes it supports basic seo, but many people choose to use a plugin such as yoast for advanced seo.
6 – My products have several .pdf, does the new theme support working with .pdf in the cloud?
yes – we had an issue with pdf links but our latest update solved this, woocommerce also supports pdf.
7 – Am I at risk of losing my current pages?
no, but if you have customize any theme files directly you will want to back them up and add them to a child theme, so your changes will not be lost with future theme updates Read about it & Get it here
8 – Do You have an efficient SEO optimization?
same as #5I recommend checking with your webhost to see if you have the one click staging site option, this is a option in most cPanels to create a staging clone of your site so you can test an update on it and your live site will stay up and running untouched while you test the new features.
Here are some screenshots of what it would look like:


Best regards,
MikeHey Carsten,
Thanks for the link, for a transparent header before scroll, 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: 766px) { .responsive #top #main {margin-top: -80px!important;} #top #wrap_all .av_header_transparency {background-color: transparent!important;} div#header_main > .container {display: block !important;} }but this is a little hard to see your logo, perhaps you could change your logo to white for before scroll.
For a transparent header after scroll, try this css:@media only screen and (max-width: 766px) { .header_color .header_bg,#header_meta { background-color: transparent !important; } }For always transparent, try this css:
@media only screen and (max-width: 766px) { .header_color .header_bg,#header_meta { background-color: transparent !important;} .responsive #top #main {margin-top: -80px!important;} #top #wrap_all .av_header_transparency {background-color: transparent!important;} div#header_main > .container {display: block !important;} #top .av_header_transparency #header_meta { border-bottom: 0 none transparent;} }Best regards,
Mike -
This reply was modified 5 years, 3 months ago by
-
AuthorPosts

