• dcarapic

    (@dcarapic)


    Can I hide sidebar and sitemap on the ‘Shop’ page. All other WooCommerce pages (account, checkout, cart) do not display sidebar and sitemap while the shop page does.

    Is there a way to remove this from the shop page? Sidebar displays the posts so it makes no sense to be on the Shop page while the sitemap just looks ugly on it.

    Here is the status:

    ### WordPress Environment ###
    
    Home URL: https://www.carapica.hr
    Site URL: https://www.carapica.hr
    WC Version: 2.5.2
    Log Directory Writable: ?  /srv/www/op/carapica.hr/wp-content/uploads/wc-logs/
    WP Version: 4.4.2
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    Language: hr
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 5.3.29-1~dotdeb.0 - Preporu?amo minimalnu verziju PHP 5.4. Vidi: Kako a?urirati va?u PHP verziju
    PHP Post Max Size: 32 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    SUHOSIN Installed: ?
    MySQL Version: 5.5.47
    Max Upload Size: 32 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post - objava na daljinu: ?
    Remote Get - uzmi daljinski: ?
    
    ### Database ###
    
    WC Database Version: 2.5.2
    :
    woocommerce_sessions: ?
    woocommerce_api_keys: ?
    woocommerce_attribute_taxonomies: ?
    woocommerce_termmeta: ?
    woocommerce_downloadable_product_permissions: ?
    woocommerce_order_items: ?
    woocommerce_order_itemmeta: ?
    woocommerce_tax_rates: ?
    woocommerce_tax_rate_locations: ?
    
    ### Active Plugins (11) ###
    
    LayerSlider WP: od Kreatura Media – 5.5.1
    Akismet: od Automattic – 3.1.7
    Counterize: od Gabriel Hautclocq – 3.1.5
    Google Sitemap by BestWebSoft: od BestWebSoft – 3.0.2
    HTML Javascript Adder: od Aakash Chakravarthy – 3.9
    Revolution Slider: od ThemePunch – 5.0.5
    Slim Jetpack: od WingerSpeed – 2.7.0.1
    WooCommerce: od WooThemes – 2.5.2
    WP-PostViews: od Lester 'GaMerZ' Chan – 1.71
    WP-reCAPTCHA: od  – 4.1
    WPGlobus: od WPGlobus – 1.4.4
    
    ### Settings ###
    
    Force SSL: –
    Currency: HRK (Kn)
    Currency Position: right_space
    Thousand Separator: .
    Decimal Separator: ,
    Number of Decimals: 2
    
    ### API ###
    
    API Enabled: ?
    API Version: 3.1.0
    
    ### WC Pages ###
    
    Osnova trgovine: #1752 - /shop/
    Ko?arica: #1753 - /cart/
    Blagajna: #1754 - /checkout/
    Moj ra?un: #1755 - /my-account/
    
    ### Taxonomies ###
    
    Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    ### Theme ###
    
    Name: Aegaeus
    Version: 4.1
    Author URL: https://www.hb-themes.com
    Child Theme: ? – Ako ste modificirali WooCommerce ikoriste?i "Parent" temu koju niste osobno napravili
    preporu?ujemo da koristite "Child" temu. Vidi: How to create a child theme
    
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: –

    https://www.ads-software.com/plugins/woocommerce/

Viewing 8 replies - 1 through 8 (of 8 total)
  • kimsf

    (@kimsf)

    Go to Pages > All Pages > Click on Shop page or Home and then make sure the page attribute is set to a full width template.

    Try going to WooCommerce > Setting > Products > display and make sure the Shop Page is set to a page with a full width template.

    Plugin Contributor Mike Jolley

    (@mikejolley)

    Not sure you can Kim…

    Shop is not a page. It’s a custom post type archive. If your theme has no dedicated options for this, you need to customise via an archive-product.php file inside your theme.

    Thread Starter dcarapic

    (@dcarapic)

    @mike Jolley
    My current theme does not have archive-product.php.
    Should I make a copy of another page (like page.php) and rename it to archive-product.php?

    Thread Starter dcarapic

    (@dcarapic)

    @kimsf
    Changing it has no effect.

    kimsf

    (@kimsf)

    I would just get a new template. Looking at the CSS a lot of elements seem to require the sidebar to be there in order for it to look good. It should be possible to fix it with CSS but this would be too time consuming for me.

    Plugin Contributor Mike Jolley

    (@mikejolley)

    You can create an archive-product.php yes. Or use CSS but it can be difficult on some themes.

    Thread Starter dcarapic

    (@dcarapic)

    @mike Jolley
    Thanks a lot (again :)).
    I will try it out.

    body.archive.woocommerce div#primary,
    body.single.woocommerce div#primary {
    width: 100%;
    }

    added to CSS

    • This reply was modified 8 years, 4 months ago by pilotguy13.
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Remove sitemap and sidebar from WooCommerce Shop page’ is closed to new replies.