• 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

Mobile Responsive Cart in Woo Commerce

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 › General Discussion › Mobile Responsive Cart in Woo Commerce

This topic is: not resolved

Tagged: WooCommerce integration

  • This topic has 4 replies, 2 voices, and was last updated 10 years, 2 months ago by carasmo.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • April 6, 2016 at 3:24 am #183026
    definemedia
    Member

    Hi there,

    I have been working on a Woo Commerce integration into the Lifestyle theme and have it working now. Just checking through and tweaking the cart and have notice it is not working at the smaller screen size, it seems to push everything into a narrow column on the left.

    Can anyone help with resolving this ?

    Its probably something straightforward but i can't for the life of me find the solutions.

    Any help very much appreciated.

    Maria

    http://testing.yoganook.com.au/cart/
    April 6, 2016 at 5:18 am #183036
    carasmo
    Participant

    You have:

    /* Line 407 */
    th, td
    {
      text-align: left;
      width: 33%;
    }

    These are global properties which will apply when there is a td or th everywhere, you need to use CSS specificity. Example:

    .parent-table .th, 
    .parent-table td {
        ... 
    }

    Genesis Theme Customization and Help

    April 6, 2016 at 5:20 am #183040
    carasmo
    Participant

    https://css-tricks.com/specifics-on-css-specificity/


    Genesis Theme Customization and Help

    April 8, 2016 at 9:49 am #183175
    definemedia
    Member

    Thank you very much for your help and setting me on the right path, have been working on this for quite a while now and am some of the way there !

    .woocommerce table.shop_table td, .woocommerce table.shop_table th

    {
    width: 100%;
    }

    This corrects the responsive table, but also throws out this page now http://testing.yoganook.com.au/my-account/

    I can't for the life of me find something that is specific to just the responsive table.

    I thought this would work, but it doesn't have any effect

    .shop_table shop_table_responsive cart td, .shop_table shop_table_responsive cart th

    {
    width: 100%;
    }

    Are there any more pointers you could give me for this, maybe I am missing something really obvious.

    Many thanks,
    Maria

    April 8, 2016 at 12:24 pm #183183
    carasmo
    Participant

    If you use th and td and make them 33%, this it will happen everywhere in your site where there is a td or a th. Where do you need 33%? Find precisely that element and get the class of that of that particular table and write your CSS for that specifically. Generally you don't need to touch any woocommerce css styles as they come with the theme. So remove what you have above.

    Specifics on CSS Specificity


    Genesis Theme Customization and Help

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘General Discussion’ 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

© 2026 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