Forum Replies Created
-
AuthorPosts
-
August 13, 2017 at 5:51 pm in reply to: show woocommerce shopping cart icon only in the shop pages #838271
Hi,
I think you would do better to use a plugin for this, I found this article about how to do so, but you could also try a little plugin searching.I also found this function for functions.php, but I didn’t test, so use at your own risk:
add_action( 'wp_enqueue_scripts', 'dequeue_woocommerce_styles_scripts', 99 ); function dequeue_woocommerce_styles_scripts() { if ( function_exists( 'is_woocommerce' ) ) { if ( ! is_woocommerce() && ! is_cart() && ! is_checkout() ) { # Styles wp_dequeue_style( 'woocommerce-general' ); wp_dequeue_style( 'woocommerce-layout' ); wp_dequeue_style( 'woocommerce-smallscreen' ); wp_dequeue_style( 'woocommerce_frontend_styles' ); wp_dequeue_style( 'woocommerce_fancybox_styles' ); wp_dequeue_style( 'woocommerce_chosen_styles' ); wp_dequeue_style( 'woocommerce_prettyPhoto_css' ); # Scripts wp_dequeue_script( 'wc_price_slider' ); wp_dequeue_script( 'wc-single-product' ); wp_dequeue_script( 'wc-add-to-cart' ); wp_dequeue_script( 'wc-cart-fragments' ); wp_dequeue_script( 'wc-checkout' ); wp_dequeue_script( 'wc-add-to-cart-variation' ); wp_dequeue_script( 'wc-single-product' ); wp_dequeue_script( 'wc-cart' ); wp_dequeue_script( 'wc-chosen' ); wp_dequeue_script( 'woocommerce' ); wp_dequeue_script( 'prettyPhoto' ); wp_dequeue_script( 'prettyPhoto-init' ); wp_dequeue_script( 'jquery-blockui' ); wp_dequeue_script( 'jquery-placeholder' ); wp_dequeue_script( 'fancybox' ); wp_dequeue_script( 'jqueryui' ); } } }
Best regards,
MikeHey abedia,
Try this code in the General Styling > Quick CSS field:@media only screen and (max-width: 767px){ .responsive #top #wrap_all .main_menu {left: 1%!important; }}
Best regards,
MikeAugust 13, 2017 at 5:23 pm in reply to: blank space on page after adding newsletter sign up form #838267Hi,
Try this code in the General Styling > Quick CSS field:#after_section_8 {display:none !important; }
please see screenshot in Private Content area to be sure I’m looking at the right space.
Best regards,
MikeHi,
I added this code in the General Styling > Quick CSS field:@media (max-width: 910px){ .wp-megamenu-main-wrapper.wpmm-ctheme-wrapper.wpmega-default-theme .wpmegamenu-toggle { background: transparent!important; }}
It now doesn’t show, Please clear your cache :)
Best regards,
MikeAugust 13, 2017 at 4:52 pm in reply to: Youtube link shows up as first thing in the post preview #838257Hey annajou,
One option is to manually change the excerpt by using the excerpt field below each post, this allows you to set the excerpt you wish to show. To use this option go to a post, and at the top of the page click “Screen Options” and choose the “Excerpt” box.
In my testing, adding the embed iframe link from Youtube does not show in the excepts on the blog page, nor does using the video element within the builder. How are you adding the videos?
Another option is to add this code to the end of your functions.php file in Appearance > Editor:add_filter('wpv_filter_post_excerpt', 'remove_youtubelinks_func'); function remove_youtubelinks_func($excerpt){ return $excerpt = preg_replace('~(?:http|https|)(?::\/\/|)(?:www.|)(?:youtu\.be\/|youtube\.com(?:\/embed\/|\/v\/|\/watch\?v=|\/ytscreeningroom\?v=|\/feeds\/api\/videos\/|\/user\S*[^\w\-\s]|\S*[^\w\-\s]))([\w\-]{11})[a-z0-9;:@?&%=+\/\$_.-]*~i', '', $excerpt); }
Best regards,
MikeAugust 13, 2017 at 4:22 pm in reply to: Integrating Autoposting From Zapier Into Enfold Advanced Layout Editor #838248Hi,
Your Image with Hotspots is a full width element, so it is dropping down and forcing your sidebar below it. Try putting your Image with Hotspots at the top of the page, and your blog post element below it. It may still force your sidebar down. Also try disabling your plugins. I’ve seen the JetPack plugin cause the sidebar to drop below the content before too.Best regards,
MikeHi,
The Seacole Search plugin maybe conflicting with the built in search, or it could be one of the other plugins. Often a plugin that seems to have nothing to do with the issue can be the cause. To rule this out, please try disabling your plugins. If that resolves the issue, reactivate each one individually until you find the cause.Best regards,
MikeHi,
Please try this code in the General Styling > Quick CSS field:.avia_transform .avia-gallery-thumb img { opacity: 1!important; animation-duration: 0s!important; -webkit-transform: scale(1)!important; transform: scale(1)!important; }
Please clear your cache and compare to gif in Private Content area, which is the result I see on my end when I refresh two times.
Best regards,
MikeHi,
Thanks for your kind words, were just glad to help :)
OK, so to center your gallery above 2k try this:@media only screen and (min-width: 2000px) { .page-id-2269 #av-masonry-1 { margin-left: 18vw!important; }}
But I was having trouble seeing the images at that size, I’m thinking there is some CSS I should know about, mainly “only-desktop” on your top grid row.
Or maybe it’s just my connection today :)
Can I ask why you have two masonry galleries on that page, one in a grid row and one not? Perhaps we can adjust just one to do what you want?
If you try my code and it works fine for you, then it was my connection and we’ll be happy.
Otherwise please see screenshots in Private Content area.Best regards,
MikeHey boaguy,
I believe that it can take up to 72 hours for it to start working, but you can go to the “Real-Time” tracking and see yourself on the site.
See this video, I jumped to the section for you, or you can watch the whole video;Best regards,
MikeAugust 13, 2017 at 1:24 am in reply to: Organize One Page's Accordion To Horizontal Instead or Vertical Listing #838097Hey jawer,
Please try adding this code to the end of your functions.php file in Appearance > Editor:add_filter( 'woocommerce_enqueue_styles', '__return_false' );
Please clear your cache :)
Best regards,
MikeHi,
Oh, ya that was my error, I thought that was what you wanted :)
So do you never want it full width, phone?
Try:.homepage { max-width: 80%!important; left: 25% !important; padding-top: 200px !important; padding-bottom: 200px !important; margin: 0 auto; } @media only screen and (max-width: 425px) { .homepage { max-width: 100%!important; left: 0px !important; padding-top: 100px !important; padding-bottom: 100px !important; margin: 0 auto; }}
Try adjusting the first max-width% & left% to center, the bottom one is now for phones, if you don’t want that just remove it :)
Best regards,
MikeHi,
I see what you mean, here are the original colors, maybe I transposed one of them. You can try to adjust :).main_color .button.av-sending-button { background: #9cc3df; background-image: linear-gradient(-45deg, #9cc3df 25%, #add4ef 25%, #add4ef 50%, #9cc3df 50%, #9cc3df 75%, #add4ef 75%, #add4ef);
Try making the background: #9cc3df; >> background: #d9701a;
Unless there’s anything else, shall we close this?Best regards,
MikeHi,
Glad we were able to help, we will close this now. Thank you for using Enfold.Best regards,
MikeHi,
Glad we were able to help, we will close this now. Thank you for using Enfold.Best regards,
MikeHi,
Glad we were able to help, we will close this now. Thank you for using Enfold.Best regards,
MikeHey ccyran,
Try removing your padding around the image (200px 150px 150px 150px)
and try this code:.homepage { max-width: 50%!important; left: 25% !important; padding-top: 200px !important; padding-bottom: 200px !important; margin: 0 auto; } @media only screen and (max-width: 1023px) { .homepage { max-width: 100%!important; left: 0px !important; padding-top: 100px !important; padding-bottom: 100px !important; margin: 0 auto; }}
Best regards,
MikeHi,
Try:.avia-post-nav .entry-image img { border-radius: 0px!important;
Best regards,
MikeHey Bert2,
Can you please share the code you are using, and the URL to the site.
Including a admin login in the private content area might also be helpful.Best regards,
MikeHey iedigitaldesign,
This was due to a conflict with JetPack plugin, I tried disabling it at the error was resolved.Best regards,
MikeHi,
You could try this code, I’ve changed the blue to orange to match your site:.main_color input[type='submit']:hover { background-color: #F57F20!important; color: #ffffff; border-color: #F57F20!important; } .main_color .button.av-sending-button { background: #F57F20!important; background-image: linear-gradient(-45deg, #d9701a 25%, #F57F20 25%, #F57F20 50%, #d9701a 50%, #d9701a 75%, #F57F20 75%, #F57F20)!important; }
Best regards,
Mike -
AuthorPosts