• Resolved bigwheelwebdesign

    (@bigwheelwebdesign)


    Hi, I’m trying to use WooCommerce with my Colormag child theme and everything looks great except for on single product pages, where the sidebar is appearing below the content on desktop rather than to the right of it. It seems to be fine on every other WooCommerce page but just not on single product pages.

    I’ve had a look around to see if there’s a setting I’ve missed somewhere but can’t find anything, so I’m not sure what to do?

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter bigwheelwebdesign

    (@bigwheelwebdesign)

    Did I submit this correctly? Other support requests seem to have been submitted and answered since I submitted my request.

    Hi @bigwheelwebdesign

    It seems that you have modified the code file and while doing so have misplaced the tags. You seem to have placed div #secondary under the div #primary tag but they should be placed as sibling tags, not a child tag which is causing the issue on the page. Once you fix that, your page should be normal.

    Let me know if this helps and if you need help with any other queries! ??

    Regards,
    ThemeGrill

    Thread Starter bigwheelwebdesign

    (@bigwheelwebdesign)

    @nidwija

    I don’t understand what you mean. I haven’t modified any code file.

    Thread Starter bigwheelwebdesign

    (@bigwheelwebdesign)

    Does it usually take this long to get a reply?

    As I said, I haven’t modified any code files. I’m using a child theme so I can add/override CSS, but I haven’t edited any php template files to be able to misplace a tag only on Woocommerce product pages.

    Hi @bigwheelwebdesign,

    Sorry for the late reply. Upon inspecting the site the issues do seem to be solved. So could you please let us know if the issue still persists?

    Thread Starter bigwheelwebdesign

    (@bigwheelwebdesign)

    I managed to resolve this issue with CSS in my child theme. If anyone has the same issue, try adding this to your child theme’s style.css file:

    /* Resolve WooCommerce sidebar below content issue */
    .single-product #primary {
    float: none;
    width: 100%;
    }
    .woocommerce div.product {
    margin-bottom: 0;
    position: relative;
    display: inline-block;
    width: 70%;
    }

    Hi @bigwheelwebdesign,

    Glad your issue was solved. For any further issues regarding our theme please do let us know. ??

    Kind Regards,
    ThemeGrill Support.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘WooCommerce – Sidebar below content on single product pages’ is closed to new replies.