Forum Replies Created
-
in reply to: Amount of products, load more and shop layout
Hi there,
I neglect to mention that I am using a child theme, so this is the code I am using but it is not working. It is my understanding that I have to declare WooCommerce Theme Support, which I did but I am not sure if it is correct.
<?php function child_enqueue_scripts() { wp_register_style( 'childtheme_style', get_stylesheet_directory_uri() . '/style.css' ); wp_enqueue_style( 'childtheme_style' ); } add_action( 'wp_enqueue_scripts', 'child_enqueue_scripts'); // woocommerce support function mytheme_add_woocommerce_support() { add_theme_support( 'woocommerce' ); } add_action( 'after_setup_theme', 'mytheme_add_woocommerce_support' ); // Change the add to cart button INTO View Product button add_filter( 'woocommerce_loop_add_to_cart_link', 'add_product_link' ); function add_product_link( $link ) { global $product; echo 'get_permalink( $product->id ).'" class="button">' . __('View Product', 'woocommerce') . ''; } // Change number of products displayed per page on shop page add_filter( 'loop_shop_per_page', 'new_loop_shop_per_page', 20 ); function new_loop_shop_per_page( $cols ) { $cols = 20; return $cols; } ?>Thank you!
All the other fixes worked perfectly.
-
This reply was modified 7 years, 2 months ago by
Mirela. Reason: code
in reply to: Shop Full Width LayoutI did try with CSS, but the info I added automatically gets added to the container of the shop, so the change will have to happen to the html. I created a child theme, if you could let me know which file I will have to modify so I can make all the new info added to the page go into a different container I will appreciate it.
in reply to: Shop Full Width LayoutI want the text on the top to extend to the full width of the browser (100%), not the page container(110px) that is holding the products.
in reply to: Javacript conflict with isotope.jsAwesome. Thanks so much!
in reply to: Javacript conflict with isotope.jsAlso I tried installing the woocommerce and I got this message:
<p style=”font-size: 13px; line-height: 1.5; margin: 0.5em 0px; padding: 2px; max-width: 700px; color: #444444; font-family: -apple-system, system-ui, ‘Segoe UI’, Roboto, Oxygen-Sans, Ubuntu, Cantarell, ‘Helvetica Neue’, sans-serif;”><span style=”font-weight: 600;”>Your theme (Specular) contains outdated copies of some WooCommerce template files.</span> These files may need updating to ensure they are compatible with the current version of WooCommerce. Suggestions to fix this:</p>-
<li style=”margin-bottom: 6px;”>Update your theme to the latest version. If no update is available contact your theme author asking about compatibility with the current WooCommerce version.
<li style=”margin-bottom: 6px;”>If you copied over a template file to change something, then you will need to copy the new version of the template and apply your changes again.Not sure if you have a most updated version of the one I am using.
Thanks!
Diana
in reply to: Javacript conflict with isotope.jsThis reply has been marked as private.in reply to: Parallax Scroll EffectI increased the height to 1200 and still do not see the background staying still.
We really want to have this effect on our slider. A lot of your demos have it. What can we do to make it work. If you tell me an hour to be available and work with you I am willing to do it.Thank you!
in reply to: Parallax Scroll EffectWOuld you be able to help with this?
in reply to: Parallax Scroll EffectThe effect should be like on this demo https://codeless.co/specular/agency2/
in reply to: Parallax Scroll EffectThis reply has been marked as private.in reply to: Change Color Navigation MenuThank you, it worked for the about.
Any insight in the active state on the links (e.g HOME should be orange, when in that page) is not working when the light version displays.
in reply to: Parallax Scroll EffectI would like to get the parallax scroll effect, the one where the background image stays still and the rest of the page kind of moves up. Can you help?
in reply to: Change Color Navigation MenuOMG! Sorry… I just notice that the active state on the links (e.g HOME is orange) is not working when the light version displays.
These changes should also work on the ABOUT page or any page that displays and slider on the top. Any way to accomplish this?
in reply to: Change Color Navigation MenuOMG! Sorry… I just notice that the active state on the links (e.g HOME is orange) is not working when the light version displays
-
This reply was modified 7 years, 2 months ago by
