Forum Replies Created
-
AuthorPosts
-
Hi,
If you are not using a child theme you could use the WP Code plugin then add a new snippet, in the top right corner use the PHP snippet as the code type:
then add the this code and save.add_filter('avf_logo','av_change_logo'); function av_change_logo($logo) { if(wp_is_mobile() ) { $logo = "/wp-content/uploads/2024/04/LogoMobile.png"; } return $logo; }
you may need to make the image url in the code your full path if this doesn’t work, I didn’t want to post your full url as I think you want it private.
Best regards,
MikeHi,
The theme works for WP 6.5, when I check the frontend the demo loads:
when I try to login the block message also says: “Servizi Internet” is that your webhost?
Perhaps they are using mod_security in the server, try asking them. If they are blocking us from loging in they might also be cause a 403 (Forbidden) error in the backend on /wp-admin/admin-ajax.php and causing the “saving didn’t work” message.
Try asking your webhost if they see any errors in the error log for the server, perhaps they can help solve.Best regards,
MikeApril 6, 2024 at 8:59 pm in reply to: Structured integration of various Enfold pages into one site #1439360Hi,
Glad Rikard could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHi,
Perhaps I misunderstood your logo question, I thought that you wanted a different logo to show on mobile devices, but now I think that you want your logo to show larger so I did this for you, please check.
The trick is to copy the logo url from your media library and paste it into the logo field and then save, not to use the “upload” button, this will always use the small version on the image.Best regards,
MikeHey Petra,
Thanks for the link to your page, I see that you are using some grid rows and the cells have a Cell Padding of 150px like this:
Try using the icon for mobile devices and change the Cell Padding to zero, like this:
For each icon is a different setting for different device sizes, you may want to use zero for the three smallest sizes or at least much less than what you use for desktop.
See if this helps, and if you want to include a admin login in the Private Content area so we can help more, just use any fake email address and post the user & pass in the Private Content area below.Best regards,
MikeHey danieleflacco,
The message “saving didn’t work” can be giving for many different actions, please explain what you were tring to do when you saw the message.
I tried to login but I was given a this message:Potentially malicious access detected. Access to the page has been blocked due to possible malicious activity
please disable any security plugins or server settings that might be blocking our access.
I think that you are tring to import the parallax demo, if so please ensure that the “frontpage” is set as the Frontpage Settings and the blog page is not set, like this:
Best regards,
MikeApril 6, 2024 at 7:47 pm in reply to: Revisiting the masonry load more not working since update to 5.6.10 #1439350Hey GWS,
When I click the “load more” button I see the error “/wp-admin/admin-ajax.php 403 (Forbidden)” in the browser console. I also see a reference to “WordFence” have you tried disabling all of your plugins, including WordFence? Check your WordPress ▸ Dashboard ▸ Tools ▸ Site Health ▸ Info ▸ Server that your PHP max input variables is set to 10000.
Also try setting your Max input time to 120 and your PHP memory limit to 768M
Perhaps uping your WordPress Constants WP_MEMORY_LIMIT to 64M and changing your Database Max connections to 1000 will also help. These are the settings that I have on my test site.
A admin-ajax.php 403 (Forbidden) can be caused by many issues, such as if mod_security is enabled on the server, try asking your webhost if it is, and to disable it as a test. It could also be caused by incorrect file permissions or a Corrupt .htaccess file. Please see this article for common fixes.Best regards,
MikeHey socross,
When I check your slider when it is transitioning the background is white without a image, perhaps you have already found a solution?
If not please include a admin login in the Private Content area so we can examine.Best regards,
MikeHi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHi,
Thank you for your patience, right now your site is using a full width header and footer, to limit the width of the header you will need to use the “Boxed” layout
so go to Enfold Theme Options ▸ General Layout ▸ Stretched Or Boxed Layout
and then set the width at Enfold Theme Options ▸ General Layout ▸ Dimensions ▸ Maximum Container width
To use a different logo on mobile try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:add_filter('avf_logo','av_change_logo'); function av_change_logo($logo) { if(wp_is_mobile() ) { $logo = "http://kriesi.at/wp-content/themes/kriesi/images/logo.png"; } return $logo; }
then change the image url to the image you want to use.
Best regards,
MikeApril 6, 2024 at 6:53 pm in reply to: Small bug: Left Arrow key don’t work in “TXT” mode (Rank Math) #1439342Hi,
Ok, we will close this then.
Thanks for helping Guenni007, but since the plugin author is working on this, it is probably better for the solution to be applied to the plugin.Best regards,
MikeHey woogie07,
It is the padding for the portfolio grid, try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:#top .avia-fullwidth-portfolio .sort_width_container { padding: 0; }
Best regards,
MikeApril 6, 2024 at 6:31 pm in reply to: Blog Einträge Länge unlimitiert / einsatz von php Einstellungen #1439336Hey carmen,
Change this:@media screen and (min-width: 1800px) { .mobile-nav { display: none; } }
to this:
@media screen and (max-width: 1800px) { .mobile-nav { display: none; } }
Best regards,
MikeHey menainfosec,
Thanks for the link to your site when I look at your /blog/ page I see a blog element with a pagination at the bottom, this matches your links above, but this is from a plugin and not the theme, so you will need to look in the plugin options to find where to disable the pagination.
If you can’t find the setting you can hide it with this css:.wpspw_pagination { display: none; }
There is not a way to “delete” these pagination pages because they are showed by the WordPress query, you could try using a redirect plugin and and redirect any page the includes /page/* to a different page that you choose
Best regards,
MikeApril 6, 2024 at 5:10 pm in reply to: Blog Einträge Länge unlimitiert / einsatz von php Einstellungen #1439327Hey Dominic,
The function that you have linked to is to be added to the child theme functions.php, I activated your child theme and added it for you, please check.Best regards,
MikeApril 6, 2024 at 4:50 pm in reply to: Addind Advanced Layout Builder to custom taxonomy description #1439326Hey kaiserlino,
There might be a way to do this, can you give a specific example such as a link to a taxonomy detail detail page and what ALB elements you would like to add to it.
We may be able to inject the ALB elements into the page. Would you be doing this many times and would you need to change this often once it was done?Best regards,
MikeHey cuccarini,
Thank you for the link to your site and your screenshot, you are using the pricing table on your site, try using the tabular data instead.
I created a test page with the tabular data and I made the table background color transparent so the color section Background Gradient would show instead of filling the empty cells with a red background color. This is how I filled the table:
I then added the custom class club-table
Then I used this css:.main_color table.club-table { border-collapse: separate; border-spacing: 10px; background: transparent; font-size: 18px; font-weight: bold; color: #fff; } .main_color table.club-table td, .main_color table.club-table th { border: 2px solid #fff; padding: 5px; background: transparent; font-size: 18px; font-weight: bold; color: #fff; height: 120px; vertical-align: middle; text-align: center; } .main_color table.club-table tr { border: 2px solid #fff; background: transparent; } tr:first-child th, tr:first-child td, tr th:first-child, tr td:first-child { border: 2px solid #fff; } table.club-table > tbody > tr:nth-child(2) > td:nth-child(1), table.club-table > tbody > tr:nth-child(3) > td:nth-child(1) { background-color: #1e90ff; } table.club-table > tbody > tr:nth-child(3) > td:nth-child(2) { background-color: #808080; } table.club-table > tbody > tr:nth-child(2) > td:nth-child(3) { background-color: #808080; } table.club-table > tbody > tr:nth-child(3) > td:nth-child(3) { background-color: #ee711f; } table.club-table > tbody > tr:nth-child(3) > td:nth-child(5) { background-color: #29a715; }
This is the result:
Please give this a try.Best regards,
MikeHi,
I believe that your question is that you are trying to use a grid row element with four cells and only want to have the background colors show as a bar:
you have set the min height to 15px:
but it shows as 60px high:
you need to go to each cell and set the Cell Padding to zero:
then it will show as 15px:
Best regards,
MikeHey BoXstA,
I’m not able to test your code on my test site because it doesn’t include the popup code, nonetheless if this works with a text link I imagine that you could use some css to style it into a button. PLease like to your test page so we can see, or if you need to use a button element, link to your test page with the working text link and the button below it that you want to use and include a admin login in the Private Content area so we can examine closerBest regards,
MikeHi,
Perhaps a plugin like Html5 Audio Player would be a good choice because it uses a shortcode that allows you to add the audio file URL, so it could be from an external source or a directory on your site that you upload to via FTP and bypass the WordPress media library completely:
Best regards,
MikeApril 6, 2024 at 1:26 pm in reply to: custom fonts in different language sometimes not displayed #1439316Hi,
Thank you for your patience, this seems strange and I have not seen any issues like this. Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:function custom_avf_post_css_create_file( $create ) { return false; } add_filter( 'avf_post_css_create_file', 'custom_avf_post_css_create_file', 10, 1 );
Then enable Enfold Theme Options ▸ Performance ▸ Delete old CSS and JS files and change your Performance setting to Enfold Theme Options ▸ Performance ▸ JS & CSS file merging and compression ▸ Use minified theme files without merging
and clear any cache plugin and see if it happens again in the future, if it does don’t fix with the steps above but include a admin login in the Private Content area so we can examine.
We will leave this open to see it is happens again.Best regards,
MikeHi,
@TakiwaSoulArt the issue is most IOS devices do not display this correctly, this was a known issue with IOS for a few years, they have only recently fixed this for the newest devices but many people still use the older devices. I recommend using it as is.
Shall we close this thread then?Best regards,
MikeApril 6, 2024 at 12:52 pm in reply to: Small bug: Left Arrow key don’t work in “TXT” mode (Rank Math) #1439312Hey Peter,
Thank you for reporting that this is a known RM bug, in this case the best solution is to wait for their update. Since there is nothing for us to do here I imagine we should close this thread then?Best regards,
MikeHey goldengate415,
Thank you for your patience, using the add_theme_support(‘appearance-tools’); adds option for the Block Editor, the same is for the other improvements, these will not add anything to the ALB builder. The WordPress official documentation doesn’t explain any further about the Block Editor changes, but you can play around with it to find the improved Appearance Tools if you are curious.Best regards,
Mike -
AuthorPosts