Viewing 5 replies - 1 through 5 (of 5 total)
  • The divs are mismatched in the markup. There are 36 opening divs and 35 closing divs. There should be an extra closing div to close the #content div before the #widgets div. I can put this extra tag in the markup using browser tools and the page then looks good.

    So you need to look at the template files. Do you have template overrides? These will be listed at:
    Admin page > WooCommerce > System Status > Template overrides (well down the page)
    If you do, it means the page template, or maybe just parts of it are supplied by your theme.

    A test is to temporarily switch to the default theme. If that fixes the problem, it looks like the theme templates are not correct.

    Please tell us what you find.

    Thread Starter David 279

    (@david-279)

    That pretty much sums up what I thought, just wasn’t sure how to fix it, I’ve not got any template overrides set and I’ve not touched any of the default .php files from woo, however I tried it in twentytwelve with the widget on the right and it works fine, using it with the unmodified responsive theme gives the same problem though so it’s not something I’ve done ?? Tried it with different themes with a left sidebar and it works so I guess it’s an issue with the theme, no idea why it only happens with only the accounts page though

    Try this in functions.php for your child theme. I haven’t tested it so chances are slim!

    <?php
      add_action('woocommerce_after_my_account', 'add_div');
      function add_div() {
        echo '</div>';
      }

    Thread Starter David 279

    (@david-279)

    Actually I sorted it all I did was add </div> after the shortcode using the text editor and it worked ! Much to my surprise, thank you for your help though

    Thread Starter David 279

    (@david-279)

    Resolved

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Odd problem on My account Page’ is closed to new replies.