Forum Replies Created

Viewing 15 replies - 391 through 405 (of 801 total)
  • Plugin Support Ryan Ray

    (@ryanr14)

    Hi @catboulin,

    I promise we’re not trying to do anything behind your back or to slow down your site. If there were anything we could help investigate regarding a slow down please do create a new thread here on our forums. πŸ™‚

    Ryan Ray

    (@ryanr14)

    Hi @lionelbachelart,

    Welcome to WordPress and thanks for trying out Storefront and WooCommerce!Getting to your issue, can you help me locate what appears to be broken icons? I took a look around the site and I’d seen a few icons, like for the cart, home icon in breadcrumbs, comments, etc…

    Icons
    Link to image: https://cld.wthms.co/uK4J12

    Ryan Ray

    (@ryanr14)

    Hi @masurana,

    It looks like you are talking about this section of your homepage? Shop by Category
    Link to image: https://cld.wthms.co/H2ecnA

    Just out of curiosity and assumption, you’re using the Storefront Homepage page template and then have re-ordered that section lower down the page. If so, there are a few options to change this.

    One option is to rebuild this using the block editor. Instead of the homepage page template you’d change the page template to full-width and insert blocks to your liking. For the product category area I would use the shortcode block and then enter the product category IDs in the order you want them. Something like this image below does.


    Link to image: https://cld.wthms.co/AqBOMp

    If you want to keep using the current homepage template, we’ll need to dig into some PHP. The way the categories are ordered is filterable, so you can use a snippet like the one below to change the orderby argument to use ID instead of the name. I’d use a plugin like Code Snippets to add this to your site.

    add_filter( 'storefront_product_categories_args', function( $args ){
        $args['orderby'] = 'id';
        return $args;
    }
    );
    • This reply was modified 7 years ago by Ryan Ray.
    Ryan Ray

    (@ryanr14)

    Hi @frankliuao,

    This was indeed done using NPM & Grunt as the task runner. Refer to our contributing guidelines here if you wanted to help shape Storefront.

    What I would add though is that I wouldn’t recommend modifying the core files of Storefront to begin with. What would be better in the long term is to create a child theme or use plugins/any other method to modify the site.

    I say that because if you modify Storefront to fit your clients needs and then a Storefront release comes out (as they will), you’ll need to redo or re-apply all of those changes after updating as that update will overwrite any changes made to the theme directly.

    The theme, WooCommerce, and WordPress itself should provide you with plenty of ways to modify their default behavior without modifying the core files of those products themselves. πŸ™‚

    • This reply was modified 7 years ago by Ryan Ray.
    Ryan Ray

    (@ryanr14)

    Hi @engenheirouva,

    This demo content during the New User Experience (NUX), is created using a function thus not necessarily easily uploaded using the normal/default CSV import.

    Lucky enough though, I’ve got an export of that demo content just for you in a CSV. This is only the products, just FYI, as the normal NUX function creates a few pages, etc…

    https://cld.wthms.co/Ic3N2F

    Ryan Ray

    (@ryanr14)

    Hi @kristinubute,

    I think one of the simpler, and maybe only, methods would be to use CSS with the appropriate media query.

    The media query can target certain screen sizes, AKA devices. Try this out in the Additional CSS section or your favorite way to add CSS to your site.

    @media screen and (max-width: 768px) {
    
    	.menu-toggle {
    		display: none;
    	}
    
    }
    
    Ryan Ray

    (@ryanr14)

    Hi @babyuniverse,

    I’m sorry you’re having issues with our Mega Menus extension for Storefront. This is one of our premium products, would you mind creating a ticket for that over at the following link? –> https://woocommerce.com/my-account/create-a-ticket/?form=ticket

    We will be able to help you further there and get more helpful info to quickly figure out what’s going on. Thanks!

    • This reply was modified 7 years ago by Ryan Ray.
    Ryan Ray

    (@ryanr14)

    Hi there @sandwebdesign,

    Those functions/actions you mentioned are used in the homepage page template in Storefront. They add, as their names describe, different sections to the homepage. πŸ™‚


    Link to image: https://cld.wthms.co/hRwXNA

    Perhaps you have those mixed up with other filters you’ve used to alter the number of columns on the shop page and the number of products per page? For example this would be the filter to change the number of columns per row.

    add_filter('loop_shop_columns', 'loop_columns', 999);
    if (!function_exists('loop_columns')) {
    	function loop_columns() {
    		return 3; // 3 products per row
    	}
    }

    Could that be the case? Either way, it seems like you are wanting to make those same changes now? You’d like to change the number of products per row and number of products per page? Let me know if I’ve misunderstood, thanks!

    Ryan Ray

    (@ryanr14)

    Hi @mytsolutions,

    That unfortunately isn’t the entirety of what you’ll need to get social icons from FontAwesome to show up. Had you seen this doc yet? It is semi related and with some modification to the CSS could work with HTML widgets.

    https://docs.woocommerce.com/document/create-a-social-icon-menu/

    The important part is that you have a link, either in your HTML widget or a menu widget, that adds the URL to Facebook. I’m assuming this would be a Facebook page, but as long as the URL starts with facebook.com/ it’ll work. This is what the CSS in that doc uses to make the social icon show up.

    Nonetheless, like mentioned I would create a social menu for your sidebar and add your social media links there. Or if you have just one, write the html code to create a text link to Facebook. Then modify the Facebook CSS in that doc to work/target the correct area of your site and theme.

    Let me know if any of that makes sense. I have this setup on my own test site to target the secondary menu, but that CSS can be changed as needed.


    Link to image: https://cld.wthms.co/YeLXyr

    Ryan Ray

    (@ryanr14)

    Hi @ninadovetail,

    Ok got it, glad I understand now. In this case I think I would look at using the new editor and create a new home page. It currently looks like that http://store.dovetaillearning.org is both the home page and the default shop page setup in WooCommerce. It also looks like it is set to just show your categories.

    I would create a new home page and use blocks there to rebuild it. That lets you easily enter a paragraph block like you have now in your shop page, then you can add a heading block, a category block, then a separator block. It could look something like this…

    Blocks are fun
    Link to image: https://cld.wthms.co/ulnUB6

    On the backend this is what I’ve done. I’ve added paragraph blocks, then the heading block and centered it. Then comes the shortcode block to enter your categories of choice. I used the following format.

    [product_categories ids="16,17,18,19" columns="4"]

    It is getting the specific categories by their ID number, which you can find by going to WooCommerce > Categories and then hover over any category. I think in most browsers you’ll see this URL preview somewhere. But if not you can just edit the category and in your address bar you’ll find the ID.


    Link to image: https://cld.wthms.co/JK0lI7

    &


    Link to image: https://cld.wthms.co/4ZWHe3

    FINALLY, I follow that all up with the separator block.Hopefully that helps, makes sense, and is one option you can use. πŸ™‚

    • This reply was modified 7 years ago by Ryan Ray.
    • This reply was modified 7 years ago by Ryan Ray.
    Ryan Ray

    (@ryanr14)

    Hi @alexjourdan,

    Happy to help, I’m glad that worked for you!

    Ryan Ray

    (@ryanr14)

    Hi @alexjourdan,

    While you could hide this with CSS, I would recommend a more “correct” method. Now I say correct, but there’s truly not a wrong or right. I only mention this as with CSS you are just hiding that information. It is still loaded via PHP but no one sees it.

    I prefer to actually remove the code from ever loading, and lucky enough this part of Storefront is loaded in via an action which means we can remove that action. πŸ™‚

    Following this method, I would use a plugin like Code Snippets to add this to your site, or use your child themes functions.php file.

    
    function remove_storefront_post_meta() {
    	remove_action('storefront_post_header_before', 'storefront_post_meta', 10);
    	
    };
    
    add_action( 'init', 'remove_storefront_post_meta');
    

    If you prefer CSS, try the following added to the Additional CSS section of the Customizer or in your preferred location.

    
    span.posted-on,
    span.post-author,
    span.post-comments {
        display: none;
    }
    
    • This reply was modified 7 years ago by Ryan Ray.
    • This reply was modified 7 years ago by Ryan Ray.
    Plugin Support Ryan Ray

    (@ryanr14)

    Hi @laura182,

    That’s a new, and handy feature, of WordPress 5.2. πŸ™‚

    That means there was a plugin/theme causing an error and it was paused or deactivated. That feature disables the part of the site causing the issue so that the rest of the site stays up and working.

    It is odd that the error is coming from WooCommerce itself though and that does make it tough to get the system status. There is another similar bit of info that might help us though. Can you access the info under Tools > Site Health?

    Site Health
    Link to image: https://cld.wthms.co/p5Z83U

    Then in the Info section use the “Copy site info to Clipboard” button and paste that here. πŸ™‚

    Hopefully that works for you.

    Ryan Ray

    (@ryanr14)

    @jpb10,

    Best of luck! My current preferred editor is Atom, and I know it has packages made for compiling SCSS if that helps any. πŸ˜›

    Ryan Ray

    (@ryanr14)

    Hi @ninadovetail,

    So sorry, it had a minor typo in it. Try this to hide the copyright.

    
    .site-info {
        display: none;
    }
    

    For the category sections, to confirm for me again, you want a horizontal line between each row? Something like this?


    Link to image: https://cld.wthms.co/cb1F5D

Viewing 15 replies - 391 through 405 (of 801 total)