Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1187035
    dtourcreative
    Participant

    I can’t seem to access my WooCommerce Shop page to edit the header image and the content: http://ce0.793.myftpupload.com/shop/.
    When I click on either cornerstone or VC it just gives the the page but I can’t click on anything.

    #1187409
    Lely
    Moderator

    Hi There,

    Shop page content is controlled by a template by default. It gets your product and then display it as list. The themes define its style. Which header image are you referring to?

    #1187812
    dtourcreative
    Participant

    The ball at the top.I want to alter that and add content where it says: Add Content.

    #1187814
    dtourcreative
    Participant

    Okay, that’s weird. The image and text are gone! I want to add an image on the top of the page like this page: http://ce0.793.myftpupload.com/exercises-games/

    #1188007
    Darshana
    Moderator

    Hi there,

    Because this requires a template change, I’d advise that you setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.

    Then try adding the following code into your child theme’s functions.php file.

    
    function add_shop_extra(){                
      echo '<img src="http://ce0.793.myftpupload.com/wp-content/uploads/2016/09/BANNER-HOLDING-ART-1200x360.jpg" class="x-img x-img-none">';
    }
    add_action('woocommerce_before_shop_loop', 'add_shop_extra');
    

    Hope that helps.

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