• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Digital Pro WooCommerce product list widget

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Digital Pro WooCommerce product list widget

This topic is: resolved

Tagged: digital pro, WooCommerce

  • This topic has 4 replies, 2 voices, and was last updated 8 years ago by kmanton.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • June 9, 2017 at 8:55 pm #207539
    kmanton
    Member

    Hi everyone. This is my first post here, but I have been very grateful for what I've learned from reading this forum. I'm hoping someone here can help me with this.

    I'm developing a website (Digital Pro theme) that uses a WooCommerce product list widget in the sidebar on its pages:

    http://howtowri.managedwp.com.au/how-to-write-selection-criteria/

    Is there a way to move the product image to the left of the product name in this widget?

    If anyone can help, I'd be most appreciative.

    Kate

    http://howtowri.managedwp.com.au/how-to-write-selection-criteria/
    June 10, 2017 at 3:37 am #207547
    Victor Font
    Moderator

    The image location is controlled by the float: right in .woocommerce ul.product_list_widget li img in woocommerce.css. Since this is a plugin style sheet, you can't change it there. What you need to do is override it in your child theme's style.css. However, the WooCommerce style sheets typically load after the child theme's style.css, gibing them precedent in the browser. To override WooCommerce then, you have to change the load order of the style sheets so the child theme's loads last. This will help you: https://victorfont.com/change-genesis-child-theme-style-sheet-load-order/

    If you do this correctly, the following code, when added to style.css will orverride WooCommerce:

    .woocommerce ul.product_list_widget li img {
        float: left;
    }

    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    June 10, 2017 at 5:05 am #207549
    kmanton
    Member

    Hi Victor,
    Thank you so much for your reply. I found that there is a digital-woocommerce.css within the Digital Pro theme, so I added the float to that and it works well. The only thing I can't figure out is why the floated image is not aligning with the adjacent text at the top, as I thought float: left sent it to the top-left. If you have any ideas, I'd be grateful, but I don't want to put you out.
    Thanks again, Kate

    June 10, 2017 at 5:19 am #207550
    Victor Font
    Moderator

    The image is aligning with the text. You have a white border in the image that presents the illusion that it is not in alignment. Look at the image by itself:

    If you want the top line of the rectangle to align with the top, you have to give it a negative margin-top of about 8px. margin-top: -8px.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    June 10, 2017 at 10:30 pm #207577
    kmanton
    Member

    Thank you again! I forgot that I'd put the white border on those temporary images (for another, now defunct reason) - I should have checked. All fixed now.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble