Forum Replies Created
-
AuthorPosts
-
July 4, 2021 at 4:31 pm in reply to: Gallery displaying images vertically instead images with thumbnails #1308649
Hi,
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,
MikeJuly 4, 2021 at 3:48 pm in reply to: Use both main and alternate/transparent meta and main menus on specific pages #1308646Hi,
I don’t believe that this is a result of anything we have done in this thread, do you?
I tried taking a look at your mobile header, but I’m not sure what you are trying to achieve, typically on mobile the header is not sticky, are you trying to have it sticky but not shown until after scroll?
Your child theme stylesheet is quite confusing with a lot of empty rules and a lot of commented out rules, please try copying your whole stylesheet to your desktop and then remove everything, except the top few lines that tell WordPress the name of the child theme, then try adding back a few rules at a time testing and clearing your browser cache each time, try to not add anything that you know you don’t need, keeping it all clean.
This should help you find when the error occurred.Best regards,
MikeHi,
Thank you for your patience, and the link to your MapBox install instructions, first I would recommend using the Enfold Child Theme so you don’t lose the changes when you update the theme.
Then add this code to the end of your functions.php file in Appearance > Editor:function install_mapbox(){ ?> <script src='https://api.mapbox.com/mapbox-gl-js/v2.3.1/mapbox-gl.js'></script> <link href='https://api.mapbox.com/mapbox-gl-js/v2.3.1/mapbox-gl.css' rel='stylesheet' /> <?php } add_action('wp_head', 'install_mapbox');
then add this to a code block on your page:
<div id='map' style='width: 400px; height: 300px;'></div> <script> mapboxgl.accessToken = 'YOUR_MAPBOX_ACCESS_TOKEN'; var map = new mapboxgl.Map({ container: 'map', style: 'mapbox://styles/mapbox/streets-v11' }); </script>
you will need to add your access token to replace this part of the code:
YOUR_MAPBOX_ACCESS_TOKEN
Then the default map will show:
Then you should go to this page to learn how to customize your MapBox map.
If you can’t create a free “Google Maps API” then you can’t use the Google Maps element, unfortunately we currently don’t have a MapBox element.Best regards,
MikeHi,
Thank you for your patience, I see that you are using Enfold vVersion: 4.6.3.1
Please update the theme via FTP to v4.8.3
The easiest and safest way to do this is to download the newest version from your Theme Forest account 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.Best regards,
MikeHey profumopuntoit,
Thank you for your patience and the link to your page and the screenshot. Your screenshot seems to show the gray scrollbar of the browser, I have checked your site in Windows 10 with Chrome, Firefox, & Edge, and in all browsers the gray scrollbar shows.
Please see the screenshot in the Private Content area.Best regards,
MikeJuly 3, 2021 at 11:09 pm in reply to: Watermark missing on lightbox preview image in single product page WoopCommerce #1308608Hey mofix,
Thank you for your patience and the login, I get the impression that your product image was added before the plugin created the watermarks, please try replacing the product image now with the full version of the watermarked image by clicking on the “view watermark images” and copying the url, then add this url to your “Product image > upload files” this should work.I have no experience with this plugin but perhaps there is some documentation explaining how to use it somewhere, but I see none linked anywhere within the plugin, I’m also not sure that this is really an official woocommerce plugin as the plugin page says: “By AA-Team” and links to this website Hopefully you can find some documentation on how to use it effectively, or you can try my workaround.
Best regards,
MikeJuly 3, 2021 at 9:57 pm in reply to: How to delete tag for related posts title in blog post element #1308601Hi,
Thank you for your patience and the link to your page, I believe you mean the section at the bottom of the pagediese Ausflüge könnten Dich auch interessieren:
this is a posts slider and not a related posts element, to have it not show the current post try setting the offset to Do not allow duplicate posts on the entire page (set offset automatically)
To change the h3 of the titles, it would be best to first add a custom class to the element so the script doesn’t effect other elements, perhapsrelated-posts-slider
Then try adding this code to the end of your functions.php file in Appearance > Editor:function custom_script() { ?> <script> (function($) { $(document).ready(function(){ function replaceElementTag(targetSelector, newTagString) { $(targetSelector).each(function(){ var newElem = $(newTagString, {html: $(this).html()}); $.each(this.attributes, function() { newElem.attr(this.name, this.value); }); $(this).replaceWith(newElem); }); } replaceElementTag('.related-posts-slider h3.slide-entry-title', '<p></p>'); }); }(jQuery)); </script> <?php } add_action('wp_footer', 'custom_script');
it will replace the h3 with p
Best regards,
MikeJuly 3, 2021 at 9:05 pm in reply to: Text title with horizontal lines on each side, and also how to text columns. #1308597Hey schizm00,
Thank you for your patience, for the first example I used a code block element:
the css is.bio-title::before { content: ""; width: 200px; height: 1px; background-color: #aaa; margin-right: 20px; box-sizing: border-box; } .bio-title::after { content: ""; width: 200px; height: 1px; background-color: #aaa; margin-left: 20px; box-sizing: border-box; } .bio-title { font-size: 64px; text-align: center; color: #000; position: relative; display: flex; justify-content: center; align-items: center; }
and the html structure is:
<h1 class="bio-title"><span>Bio</span></h1>
you could use a text element if you wish.
The result is:
For the second example I again used a code block element, inside a grid row element:
this is the code inside the code block:<table> <tbody><tr> <td>Height</td> <td>5’11</td> </tr> <tr> <td>Nationality</td> <td>American</td> </tr> <tr> <td>Age</td> <td>25</td> </tr> <tr> <td>Bust</td> <td>Natural</td> </tr> <tr> <td>Shoe</td> <td>10</td> </tr> <tr> <td>Eyes</td> <td>Blue</td> </tr> <tr> <td>Hosting</td> <td>Incall/Outcall</td> </tr> </tbody></table>
this is the result:
Please give this a try 🙂Best regards,
MikeHi,
Thank you for your patience, I believe you are referring to your site linked in your other thread I have looked at it from a speed standpoint and it loads in 5.41s, but the first 3.38s was your Time To First Byte which is due to your server and should be around 200ms.
So your page is actually loading fairly quickly, around 2s after the 3s TTFB wait.
To achieve a faster load you will need to address your TTFB with your webhost, it has nothing to do with WordPress or the theme.
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, so if you have any further questions about this please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHey webWahine,
Sorry for the late reply and thanks for your patience and explanation of what you are trying to do.
So your Header widget function is looking for the sidebar header but you do not have one:
Perhaps you need to change the function to one of the other ones, or create it?Best regards,
MikeHi,
Thank you for your patience and for the login, I tested your page with the Rich Results tool and found that Google is seeing:
lowPrice: 15.0504
highPrice: 50.1681
yet they are publishing:
€150,504.00 to €501,681.00
The numbers match if you think like a robot 🙂
Try changing your pricing so there are only 4 places like this:
lowPrice: 15.05
highPrice: 50.16Best regards,
MikeJuly 3, 2021 at 5:53 pm in reply to: Use both main and alternate/transparent meta and main menus on specific pages #1308587Hi,
Instead of using page IDs you could add a class to all of your “black” styled pages and change the script to look for#top.black
instead of#top.page-id-33
To add this class to some of your pages you could use the WordPress Custom Fields option, the Custom Fields options on the Post & Page edit screens are hidden by default if they have not been used before. Using the Block Editor, click the three dots button at the top of the right sidebar and visit Options to enable it. (If you are using the Classic editor, check the screen options).
So in this case we will add the Name: bodyclass and the Value: black
to each one of these pages, then add this code to the end of your functions.php file in Appearance > Editor:function add_custom_fields_bodyclass( $classes ) { global $post; $bclass = get_post_meta( $post->ID, 'bodyclass', true ); if ( empty( $bclass ) ) { return $classes; } $classes[] = $bclass; return $classes; } add_filter( 'body_class', 'add_custom_fields_bodyclass' );
Please note that this only looks for the Name: bodyclass but it will add any value as a body class.
As for question #2 I’m not seeing the full-width sub-menu on your home page, which page are you testing on? Which animated gif are you referring to?Best regards,
MikeHi,
Thank you for your code snippet but it doesn’t work, I search Google and tested many versions on this function and none of them work in Enfold or in the current version of WordPress without Enfold, I recommend looking for a plugin to also show the rss featured images, there are quite a few to choose from.
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 the login update and the ftp access, so I was able to correct the issue on your site by capitalizing the font name in your merged css file on your server, for some reason this makes a difference on your server.
I checked this situation on my test server and the font is showing correctly with it in lower caps, so the only thing I can imagine is this is a server encoding issue, but I’m only guessing.
So you should be able to clear your browser cache and see the correct font now, but this may change again if you make any theme changes and the merged css file is updated, if so I recommend adding this css to your WordPress > Customize > Additional CSS field, not the Quick CSS.h1, h2, h3, h4, h5, h6, #top .title_container .main-title, tr.pricing-row td, #top .portfolio-title, .callout .content-area, .avia-big-box .avia-innerbox, .av-special-font, .av-current-sort-title, .html_elegant-blog #top .minor-meta, #av-burger-menu-ul li { font-family: 'Quattrocento' !important; }
Best regards,
MikeJuly 2, 2021 at 2:29 pm in reply to: Use both main and alternate/transparent meta and main menus on specific pages #1308509Hey webWahine,
Thank you for your patience, perhaps try this script, you will note that it relies on the page ID to set the classes and add the logo, and is currently set for your about page page-id-33 so to use it for other pages you will need to adjust, but in my test it seems to work well.
Try adding this code to the end of your functions.php file in Appearance > Editor:function custom_script() { ?> <script> (function ($) { $(window).load(function() { $("#top.page-id-33 #header").addClass('av_header_transparency'); $('#top.page-id-33 .logo').append('<span class="subtext"><img src="https://keypropertymanagement.ca/wp-content/uploads/2021/06/KEY-Marketing-logo-white.svg" class="alternate" alt="KEY Marketing logo white" title=""></span>'); }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_script');
then add this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:
#top.page-id-33 #header.av_header_transparency, #top.page-id-33 .av_header_transparency #header_main { background: #000 !important; }
After applying the css, please clear your browser cache and check.
Best regards,
MikeHi,
Sorry for the late reply and thank you for your patience. I was not able to login into your site please update the login token, but are you setting the font in the Advanced Styling and in the Headline element? I saw an issue where the font was set in the Advanced Styling and the color was set in a text element making the element use the “inherit” font rule which showed the wrong font, once the option in the element was removed the correct font showed, perhaps your issue is similar?Best regards,
MikeHi,
Thank you for the feedback, I have compared the two demos on a Mac Big Sur with Safari v14.1.1 & Chrome v91.0 and do see the difference, yet I do not find any-webkit-scrollbar
css in the source code that would be used to create this, I also searched all of the theme files with no luck. I tried using the recommended pseudo-elements to change this on my 2017 demo:body::-webkit-scrollbar { width: 12px; /* width of the entire scrollbar */ } body::-webkit-scrollbar-track { background: orange; /* color of the tracking area */ } body::-webkit-scrollbar-thumb { background-color: blue; /* color of the scroll thumb */ border-radius: 20px; /* roundness of the scroll thumb */ border: 3px solid orange; /* creates padding around scroll thumb */ }
but this didn’t work. I note that the scroll bar is not different in Windows 10 on Chrome, Firefox, or Edge, and it only shows different on the Mac. I do not know why, but this seems to be a unexpected result.
Best regards,
MikeJuly 1, 2021 at 12:48 pm in reply to: Fullwidth Submenu doesnt allow clicking middle nav items on mobile #1308312Hi,
Sorry to hear this didn’t work for you, it seemed to work for me when I injected it, are you forcing jQuery to load in your footer? Did you try it with WP Rocket disabled?
Anyways I have submitted this to the dev team to review, I will reply when I hear back from them, thank you for your patience.Best regards,
MikeHi,
Please check your webhost server log for any errors such asPHP 500 (Internal Server Error)
if you do have a Internal Server Error try reaching out to your webhost to investigate. If not then please open a new thread and include admin login in the Private Content area so we can be of more assistance.Best regards,
MikeHi,
Sorry we were not more help with this, 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,
Sorry for the late reply and thanks for your patience, I tried researching this some more but I didn’t find any new information that would help, I asked the rest of our team for further ideas.
Perhaps it would help to have a highlighted tip box below your buttons, such as “Not Seeing the PDFs?” that will link to an explanation, with a little css this can be made to show only on mobile devices.Best regards,
MikeHi,
Thank you for the login to your test server, but the images are not showing on the product page nor in the media library, empty placeholders are showing in the media library, I also notice that you have a plugin called “all import” the empty images in the media library looks like a failed import, when I compare this with the product page image, which is empty, clicking on it redirects to the home page with this error in the consoleOTS parsing error: invalid sfntVersion
So as your test site stands it will not help me investigate your live site’s issue, please try creating a staging site which is a working clone of your live site, or grant access to your live site. Most web hosts that use the cPanel have a “Staging Site” option that will clone your site to a test sub-domain in just a few mins, perhaps you can try this?Best regards,
MikeHi,
Glad we were able to help, this will not be added to the theme, this is a customized script like Yigit had created. 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 the feedback, from what I see on your page /angebote/ last element is centered in all languages when the sort is “ALLE” or on page load, on Windows 10 this is true in Chrome, Firefox, & Edge, so the last image is not centered only in the DE version, I didn’t find why this is other that the javascript css:element.style { position: absolute; left: 33.2994%; top: 832.6px; }
the masonry container is using float: left;
only one of the other pages you linked to shows a single item at the end and that one is set to landscape mode which takes 2/3 of the screen. If you plan on adding more items, try adding one more now and see if that helps. Also try disabling your cache plugin and any minification, I recall a multiple layer caching & minification that caused some odd masonry behavior in the past.Best regards,
MikeHi,
Thank you for your patience and for the login, after much testing on a Mac with Safari, since everything shows on Windows 10 & Chrome, the h1 heading on your homepage with the structure<h1><em><strong>
I found that it would only work with both em & strong tags removed, but this didn’t account for the button labels & the text block lower on the page.
I then realize all of these elements were using your custom font GothamLight I then searched for a Free & Similar Alternative to Gotham and found Montserrat to match which is also available within the theme. Once I changed your Enfold Theme Options > General Styling > Fonts the issue was solved.
I don’t know why the Gotham font is not working on Safari but there are a lot of results for this on Google, I recommend using Montserrat instead.Best regards,
MikeHi,
Thank you for the feedback, I added this script to your child theme functions.php and it seems to work for both of your portfolio grid item, with the default linking or the custom linking, please check.function portfolio_grid_content_linked() { ?> <script> (function($) { $(".grid-content").click(function(){ window.location = $(this).closest('.inner-entry').find("a:first").attr("href"); return false; }); }(jQuery)); </script> <?php } add_action('wp_footer', 'portfolio_grid_content_linked');
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 the login, I’m sorry I made a mistake, on my demo I had gone to one of the portfolio demos to test, but now I recognize that it was using the masonry element to show portfolio items, instead of the portfolio grid to show portfolio items, the two elements look very similar and almost behave the same, except the masonry element to show portfolio items allows the excerpt linking that you wish. I added this element to the top of your page to demonstrate, please check and consider using this element instead.Best regards,
MikeHi,
Thank you, 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,
Mike -
AuthorPosts