Forum Replies Created
-
AuthorPosts
-
July 11, 2021 at 10:48 pm in reply to: plus/minus buttons is gone on plugin YITH WooCommerce Request A Quote Premium #1309620
Hi,
Thank you for the link to your page, I see that you are using Version: 4.6.1, another user had a similar issue with the YITH Quick View plugin, the solution was to update the theme, please try updating to v4.8.3Best regards,
MikeHi,
Glad Ismael 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,
MikeJuly 11, 2021 at 10:11 pm in reply to: Thumbnail size in sidebar after moving to a new server #1309615Hi,
Thank you for the links, it looks like in your child theme css you have this css:.news-thumb, .no-news-thumb {display:none;}
please change to:
.no-news-thumb {display:none;}
Then clear your browser cache and any cache plugin, and check.
Best regards,
MikeHey garbdesign,
Thank you for your patience I believe that the image copyright field is not included in the masonry or masonry gallery elements, the field that you see is created in the image.php that shows in many elements, I’m not sure if this was in the works or missed.
I will ask the team if there is a way to use this and will reply when I hear back.Best regards,
MikeHey amanda-mdllc,
Thank you for your patience, I tested your script in a code block on a test site and I added a custom ID to a special heading element to test the$("#get-away").on("click", function(e) { e.stopPropagation(); getAway(); });
I also added a text link with the ID
#get-away
to test the$("#get-away a").on("click", function(e) { e.stopPropagation(); getAway(); });
So while my menu sub-menu was working I found it was shifted to the left a ways, the reason was your first line in the script was calling
src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
, jQuery v1.7.2, where the theme includes v3.5.1 once I removed this old version the script seemed to run ok.
But my research pointed toreturn false;
working better thane.stopPropagation();
, and the text link didn’t work because it needed to be$("a#get-away").on("click", function(e)
and I don’t see why you are adding$("#get-away-mobile").on("click", function(e)
when$("#get-away").on("click", function(e)
would also work, but I left that. I then tested why the(e.keyCode == 27)
only triggers thewindow.location.replace
and notwindow.open
and I could not find out why the key press won’t work, but I did find thatwindow.open
reportedly doesn’t work with Safari, so for this you will have to be happy with at leastwindow.location.replace
working.
Anyways I rewrote it a little as a function you can add to your child theme functions.php file:function custom_getaway_script() { ?> <script> (function($){ function getAway() { // Get away right now window.open("http://weather.com", "_newtab"); // Replace current site with another benign site window.location.replace('http://google.com'); } function getAwayMobile() { // Get away right now window.open("http://weather.com", "_newtab"); // Replace current site with another benign site window.location.replace('http://google.com'); } $("#get-away").on("click", function(e) { getAway(); return false; }); $("a#get-away").on("click", function(e) { getAway(); return false; }); $(document).keyup(function(e) { if (e.keyCode == 27) { getAway(); } }); $("#get-away-mobile").on("click", function(e) { getAwayMobile(); return false; }); $("a#get-away-mobile").on("click", function(e) { getAwayMobile(); return false; }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_getaway_script');
Hopefully this helps.
Best regards,
MikeHi,
Thank you for your patience, the masonry element doesn’t include the categories by default, but you can add this function to your child theme functions.php to add it:add_filter( 'avf_masonry_loop_prepare', 'avf_masonry_loop_prepare_mod_cat', 10, 2 ); function avf_masonry_loop_prepare_mod_cat( $key, $entries ) { $categories = get_the_category($key['ID']); $separator = ' '; $output = ' <div class="masonry-cat">'; if ( ! empty( $categories ) ) { foreach( $categories as $category ) { if($category->slug == "whats-new" && is_page(13)) { $output .= '<span alt="' . esc_attr( sprintf( __( 'View all posts in %s', 'textdomain' ), $category->name ) ) . '">' . esc_html( $category->name ) . '</span>' . $separator; } else { $output .= '<span alt="' . esc_attr( sprintf( __( 'View all posts in %s', 'textdomain' ), $category->name ) ) . '">' . esc_html( $category->name ) . '</span>' . $separator; } } } $output .= '</div> '; $key['text_after'] .= trim( $output, $separator ); return $key; }
Best regards,
MikeHi,
Thanks for your patience, I was not able to login but for changing the tab background colors there is an option within the Advanced Layout Builder element, first choose the tab you wish to edit, then click the edit icon:
then under styling choose background colors:
then the background color and arrow color will be changed on the frontend:
Please give this a try, if you still have problems then please include an admin login in the Private Content area, the /wp-admin/ page was a 404 for me, and link to a test page so we can be of more assistance.Best regards,
MikeJuly 11, 2021 at 5:08 pm in reply to: Thumbnail size in sidebar after moving to a new server #1309592Hi,
I’m looking at the page in the Private Content area and I see the images, please see the screenshot in the Private Content area.Best regards,
MikeHi,
Glad this helpped, your background images had the incorrect url in your Quick CSS, it was this:#top.page-id-3600:before { background-image: url(/wp-content/uploads/2021/06/header-fliesen.jpg);
but it needs to be this:
#top.page-id-3600:before { background-image: url(/cms21/wp-content/uploads/2021/06/header-fliesen.jpg);
I corrected this for you, I errors I had corrected before were:
a dot before a comment:./*** Main ***/
and two hash tags before another comment:##/****** parallax effekt Doppelböden**/
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, and for the login, I added the custom class box380 to your boxes and if you use this css it will make the boxes 380×380:#top .home-color-section-width > .av-section-color-overlay-wrap > .container { padding: 0; } #top .home-color-section-width .box380.no_margin.av_one_third { min-height: 380px; height: 380px; min-width: 380px; width: 380px; }
I also corrected this css that didn’t have the “px” for the “min-height” so it was not working:
/* Color Section width */ #top .home-color-section-width .avia-slideshow { max-width: 1140px; min-height: 760px; margin: auto; }
but you will find that your background video doesn’t fit because it’s aspect ratio makes it too short, so I believe you will need to correct this video.
Best regards,
MikeHi,
Thank you for your patience and for the login, I found your css in the Quick CSS field:
the hashtag in the rule means that it is targeting an ID, please note that if you are going to target IDs then there should only be one of these on each page.
I then looked at your /system-nortec/ page and found that content80 is used 6 times, 3 times as a custom class and 3 times as a ID.
So since you are using it 6 times I changed them all to custom classes on this one page.
Then I found that you had some errors in your Quick CSS that was breaking the rules, so I fixed them, and then I adjusted your content80 rule so it would now target a class instead of a ID:#top #main .content80 { width: 75% !important; max-width: 75% !important; margin: 0 auto; Text-align: center !important; }
Now it is working correctly on the /system-nortec/ page, please clear your browser cache and check and then make adjustments to your other pages as necessary.
Best regards,
MikeHey Joe,
Thank you for your patience, and the link to your site, 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: 767px) { .responsive #top.home .av-horizontal-gallery-inner { min-height: 470px; } }
After applying the css, please clear your browser cache and check.
Best regards,
MikeHey Eefke,
Thank you for your patience, and for the login, I copied your social icon link codes from your footer widgets and added menu items to your secondary menu, I also added a custom class to the menu items for some custom css, this I added the custom css to your quick css:#avia2-menu .Secundair-social .aligncenter { padding: 0; margin: 0; }
and now they are working, please clear your browser cache and check.
Best regards,
MikeJuly 10, 2021 at 10:09 pm in reply to: Thumbnail size in sidebar after moving to a new server #1309512Hey Erwin,
Thank you for your patience, please try adding this css:.sidebar .newsbox .news-thumb img { width: 275px; height: 275px; } .sidebar .newsbox .news-thumb { padding: 0; margin: 0; }
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 and the explanation, I tried to recreate this on a test page but since I didn’t have access to the custom Fontello font you are using I used the arrow icon in the theme
Please note that while on mouse-over the charcode says \ue88d, in the css you will actually use \e88d droping the u.
You will add the following code instead of [submit] in Contact Form 7:<!--add the following instead of [submit] in Contact Form 7--> <button type="submit" class="wpcf7-submit">Submit<span class='cf7icon'></span></button> <img class="ajax-loader" src="/wp-content/plugins/contact-form-7/images/ajax-loader.gif" alt="Sending ..." style="visibility: hidden; opacity: 1;">
and then add this css for the icon:.cf7icon:after { content: " \e88d"; font-family: entypo-fontello; color: #fff; }
you will want to adjust to suit for your icon, this was the result:
Another option might be to use the Unicode character→
in your submit button:
it won’t be your custom font, but it will be an arrow:
Best regards,
MikeHi,
Thanks again for your patience and the link to your sample, but the link to your test page seems to be offline when I looked.
I created a test page with a Fullwidth Easy Slider and I added a custom ID fixed-slider in the developer settings
then I used this css with the page ID so that it would only apply to this one page, you will note that it sets the slider element to a fixed position and adds a top margin to the footer so it will appear lower on the page and scroll up.#top.page-id-3198 #fixed-slider { position: fixed; width: 100%; } #top.page-id-3198 #footer { margin-top: 630px; }
I linked to my test page for you to see, please give this a try.
Best regards,
MikeHi,
Thank you for your patience and for the login to your staging site, the column link didn’t work because it included a hashtag and it was on the homepage, the column links are not real links, they are faked with javascript, I found that by modifying the /js/shortcodes.js file I could create a workaround for you.
I modified line 660 from this:if( (0 == url.indexOf("#")) || ((url.indexOf(link) >= 0) && (url.indexOf("#") > 0) ) )
to this:if( (0 == url.indexOf("#")) )
and this seems to work correctly now, please clear your browser cache and check.Best regards,
MikeHi,
Thank you for the login, I added the code to a code block element on the /picturebooks/ page and the images are now being replaced on that page, please clear your browser cache and check.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, 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 9, 2021 at 12:49 pm in reply to: How to remove author URL on blog posts for security reasons #1309382Hi,
Glad that helped, any new function in the loop-index.php should work, only the currently named functions in your child theme would be overwritten. If one of those functions was changed you probably would not know until some new feature doesn’t work. Our Dev team is very careful about backward compatibility so I doubt you would have a crash but you could compare files before updating.
I recommend creating a staging site to test all updates before applying them to your live site, as a standard procedure.Best regards,
MikeHi,
You would add the function to your child theme functions.php, but please copy the code from the website and not an email and when you paste the code ensure that the arrows in the code are not changing to <
or perhaps there is some other code error in your functions.php, if you include an admin login in the Private Content area I could take a look.
Another way to add the code is by adding a code block element to your page and adding this part of the code:<script> (function($){ $("#top.page-id-937 .av-masonry-entry").each(function(){ var imageUrl = $(this).attr("href"); $(this).find(".av-masonry-image-container img").attr("src", imageUrl); }); })(jQuery); </script>
Best regards,
MikeJuly 8, 2021 at 12:43 pm in reply to: Mobile Alignment of Masonry and Grid Container with Image (—padding left/right) #1309254Hi,
Sorry for the late reply and thanks for the login to your site, for that one page for mobile please try this css:@media only screen and (max-width: 767px) { #top.postid-10519 #wrap_all #main #av-layout-grid-3.av-flex-cells .avia-builder-el-9.no_margin, #top.postid-10519 #wrap_all #main #av-layout-grid-4.av-flex-cells .avia-builder-el-15.no_margin{ padding: 0 15px !important; } }
After applying the css, please clear your browser cache and check.
If you find this works well we could add a custom ID to each grid row element and a custom class to the video element so that future page changes do not break the css, currently the IDs and classes in the css are the default that may change if the page is updated.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,
To target the date text you could use .date-container but the text is already as far left as possible so I’m not sure what you are trying to achieve. This css with change the date red to show an example of the target selector:#top.archive.category #main .post-entry .date-container { color: red; }
To hide the author text:
#top.archive.category #main .post-entry .blog-author { display: none; }
I don’t see an excerpt to hide so I don’t know if you also want the read-more to be hidden, but you can try this:
#top.archive.category #main .post-entry .entry-content { display: none; }
Best regards,
MikeJuly 7, 2021 at 1:03 pm in reply to: Use both main and alternate/transparent meta and main menus on specific pages #1309098 -
AuthorPosts