Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #856714

    Hallo,
    ich habe Euren Fix in der functions.php angewandt, um die Sidebar in der Single Product Page rechts statt links zu zeigen.

    Leider ist das Layout nicht sehr “sauber”:
    – Das erste Widget rechts ist nicht auf einer Höhe mit dem Produktnamen sondern zu tief.
    – Der vertikale Trennstrich zur Sidebar “klebt” an den Boxen der Variantenauswahl und Produktbeschreibung

    Kann ich nicht alternativ zur Sidebar unter der Produktbeschreibung auf voller Breite einen Produktslider einblenden, damit der Kunde auch die anderen Produkte sieht?

    Läßt sich “zurück zur Übersicht” Button einblenden, um zur definierten Shopseite zurückzukehren?

    Danke für Euren tollen Support!
    Carolin

    #856930

    Hey Carolin,

    Könnten Sie bitte anmelden Anmeldeinformationen, ich sehe die Login-Seite, wenn ich den Link in privat folgen.

    Best regards,
    Victoria

    #867256

    Hi Victoria,

    entschuldigen Sie die späte Antwort.
    Unten die Anmeldedaten im Private Content.

    Vielen Dank
    Carolin

    #867339

    Hi Carolin,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    .sidebar.sidebar_sidebar_right {
      padding: 0;
    }
    

    Not sure I understood other parts of the request, sorry. Can you explain a bit more please, with some screenshot maybe.

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #867578

    Hi Victoria,

    thank you, this fixed the problem with the alignment of the right widget.

    Now the other things I marked in yellow:
    – the vertical line is too far left and touches the boxes of the article specification –> the left part would need more padding to the right
    – there is some strange space between the article name and the price in the right widget. Can we remove that?

    Is there the general option to put a “Zurück zur Übersicht” Button to get back to the “Shop” page?

    Here is the screenshot
    woocommerce.JPG" alt="Screenshot Product Single View" />

    Thanks
    Carolin

    #868105

    Hi Carolin,

    YOu can remove the border in the theme options https://cl.ly/272M1N3G0z2p

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    
    .product_list_widget .woocommerce-Price-amount.amount {
        margin-top: -15px;
        display: inherit;
    }
    

    As for the back button, you can look for a plugin or add the code yourself.
    https://wordpress.stackexchange.com/questions/221640/how-to-add-back-buttons-to-web-pages

    https://swaac.tamouse.org/wordpress/2016/12/20/changing-the-return-to-shop-link-and-text-in-an-empty-woocommerce-cart/

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #871410

    Hi Victoria,

    thank you very much!
    Now that I have it displayed correctly on the desktop version but the mobile one is chaotic:
    1) the sidebar on the right covers half of the content. I would like to hide the right sidebar (single product view) on the mobile version. and
    2) on the “Ähnliche Produkte” widget below, the price of one of the products is too low.

    I tried with the product “Abdeckstift”.

    Thanks for your help
    Carolin

    #872571

    Hi,
    To remove the sidebar on single product pages, try adding this code to the end of your functions.php file in Appearance > Editor:

    add_action( 'get_header', 'remove_storefront_sidebar' );
     
    function remove_storefront_sidebar() {
        if ( is_product() ) {
            remove_action( 'storefront_sidebar', 'storefront_get_sidebar', 10 );
        }
    }

    Is this the price that is too low?
    2017-11-04_123636
    Best regards,
    Mike

    #872873

    Hi Mike,

    thanks for the fix. Does this code hide the single product sidebar ONLY on the mobile version? I want to keep it in the desktop version.

    The price which is too low was also in the mobile version on my mobile phone. The one you shot is in the desktop version.
    I will try to get a screenshot from my cell phone.

    Please let me know, thank you!
    Carolin

    #873260

    Hi Carolin,

    So then, just hide the sidebar via css on mobile. Waiting for the screenshot :)

    Best regards,
    Victoria

    #874259

    Hi Victoria,

    talking only about the MOBILE version and the single product view.
    I tried with this code to fix the problem

    @media (max-width: 800px) {
    .single-product .sidebar {
    display: none!important;
    }
    }

    But the single product page on MOBILE is still cut so that you can only see the left part and the right part is covered with white.
    I really have no idea what the problem is on the mobile.

    Here is the full code that I use in the custom css. Maybe you find another code that leads to this problem.

    #menu-item-search {
    display: none;
    }

    #footer .widget {
    text-align: center;
    }

    #top #wrap_all #header.header-scrolled.header-scrolled-full, .header_color .header_bg {
    background: rgba(255, 255, 255, 0.5);
    }

    div .product-sorting {display: none;}

    .single-product .product {
    width: 100%;
    }
    .single-product-summary {
    float:left;
    width:40%;
    }

    .sidebar.sidebar_sidebar_right {
    padding-top: 10px;
    }

    @media (max-width: 800px) {
    .single-product .sidebar {
    display: none!important;
    }
    }

    .avia-content-slider .slide-entry-title { text-align: center !important;}

    .product_list_widget .woocommerce-Price-amount.amount {
    margin-top: -15px;
    display: inherit;
    }

    .woocommerce .login .lost_password {
    top: 0 !important;
    }

    #874267

    Screenshot Mobile Single Product View

    #874268

    Image

    #875191

    Hi Carolin,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    @media only screen and (max-width: 767px) {
      .single-product-summary {
          float: left;
          width: 100%;
      }
    }
    

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #875268

    Perfect, you have a really excellent support! Thank you!

    #875728

    Hi phamosa,

    Glad we got it working for you! :)

    If you need further assistance please let us know.

    Best regards,
    Victoria

Viewing 16 posts - 1 through 16 (of 16 total)
  • You must be logged in to reply to this topic.