Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1223837
    dmuller
    Participant

    Hi, I wonder if it’s possible to add cornerstone elements to the WooCommerce shop page under the shop info?

    See here: http://rise.dmullerdesign.com/index.php/shop/

    There is a section ‘Important Information’ – I wonder whether that can go under the shop items, rather than above them?

    As an aside, it would be nice to have more options with WooCommerce pages, to be able to add cornerstone elements above and below to further style the pages – future update maybe?

    Thanks in advance!

    EDIT: is it possible to add widget to the shop page to add additional content for example?

    #1224064
    dmuller
    Participant

    Any ideas on this one? Is it possible – before I have to laboriously add that to every item in the shop 🙂 !

    #1224094
    Nabeel A
    Moderator

    Hi there,

    Thanks for writing in! Shop page cannot be edited in Cornerstone or default editor. This page is used by Woo Commerce to display the products. It could be possible with custom development, but this would be outside the scope of support we can offer. You may wish to consult a developer to assist you with this. X is quite extensible with child themes, so there are plenty of possibilities.

    Thanks for understanding. Take care!

    #1224126
    dmuller
    Participant

    Thanks for the response. So, to be clear, I cannot add widgets to the page footer either (enable widgets in Customizer and then click on the Visit Store link on the dashboard and drop a text widget into the footer area?).

    If not, it’s a shame as that’s what WooCommerce push you toward doing? In fact, that’s the way to show the extra WooCommerce widgets is it not?

    https://docs.woocommerce.com/document/woocommerce-widgets/

    #1224137
    dmuller
    Participant

    Update: Footer widgets seem to be disabled (maybe that’s something that could be allowed in future updates?).

    But, I can have a sidebar and add the widgets there if I change something in the page layout for the store page in Layout and Design, from fullwidth to content left, sidebar right.

    So, there’s a kinda workaround, although footer widgets would be nice in future…pretty please 🙂

    #1224146
    dmuller
    Participant

    Take a look, that works well enough!

    #1224401
    Nabeel A
    Moderator

    Glad you’ve sorted it out.

    Cheers!

    #1225306
    dmuller
    Participant

    Well, I sort of sorted it. That added a sidebar and widgets to the shop, but also added TWO, yes TWO sidebars to the blog.

    I can fix it using:

    /* Remove sidebar from blog posts */
    .single-post .x-main.left {
    width: 100%;
    }
    .single-post aside.x-sidebar.right {
    display: none;
    }
    .single-post .x-2-3 {
    width: 100%; /*this just stretches the post to go full width*/
    }
    .single-post .x-widget-area {
    display: none;
    }

    But why is it displaying TWO sidebars on these BLOG post pages now? I’ve temporarily commented out the CSS so you can see?

    http://rise.dmullerdesign.com/index.php/2016/09/13/welcome-to-the-new-site/

    and any other blog post page? Weird…

    #1225647
    Jade
    Moderator

    Hi there,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    #1228045
    dmuller
    Participant

    Sorry for the late reply, away for the weekend!

    Details below. Whilst looking, can you also advise how I can reduce the featured image size on the news archives, as everything I try in CSS has a global effect – but perhaps let’s look at the dual sidebar issue first 😉 Thanks guys and gals!

    #1228046
    dmuller
    Participant
    This reply has been marked as private.
    #1228056
    Christopher
    Moderator

    Hi there,

    #1 Please remove widgets from cornerstone page, see the attachment.

    #2 To reduce image size, add width: 50%; in image’s style field.

    Hope it helps.

    #1228127
    dmuller
    Participant

    First part sorted now – stellar work, thank you.

    Second part – these are featured imnages on the WP side, so no way to add
    width: 50%;
    to the style field (that I can find anyway)?

    Thanks for the tip on the blog posts, somehow I’d set it up to call the the widget (why?) and that just left me confused until I click on the post and could see exactly what I’d done. Duh.

    #1228161
    Christopher
    Moderator

    Hi there,

    Please add following code in Customize -> Custom -> Global CSS :

    .archive .entry-featured {
        width: 50%;
        margin-right: auto;
        margin-left: auto;
    }

    Hope that helps.

    #1228244
    dmuller
    Participant

    That fixes it there but also affects the shop, is there a way to target one and not the other?

  • <script> jQuery(function($){ $("#no-reply-1223837 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>