-
AuthorPosts
-
September 25, 2017 at 10:36 pm #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 ProduktbeschreibungKann 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!
CarolinSeptember 26, 2017 at 2:22 pm #856930Hey Carolin,
Könnten Sie bitte anmelden Anmeldeinformationen, ich sehe die Login-Seite, wenn ich den Link in privat folgen.
Best regards,
VictoriaOctober 22, 2017 at 6:39 pm #867256Hi Victoria,
entschuldigen Sie die späte Antwort.
Unten die Anmeldedaten im Private Content.Vielen Dank
CarolinOctober 22, 2017 at 9:43 pm #867339Hi 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,
VictoriaOctober 23, 2017 at 11:46 am #867578Hi 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
CarolinOctober 24, 2017 at 11:32 am #868105Hi 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-pageshttps://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,
VictoriaNovember 1, 2017 at 10:31 pm #871410Hi 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
CarolinNovember 4, 2017 at 6:37 pm #872571Hi,
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 ); } }
November 6, 2017 at 12:35 am #872873Hi 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!
CarolinNovember 6, 2017 at 6:37 pm #873260Hi Carolin,
So then, just hide the sidebar via css on mobile. Waiting for the screenshot :)
Best regards,
VictoriaNovember 8, 2017 at 5:19 pm #874259Hi 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;
}November 8, 2017 at 5:44 pm #874267November 8, 2017 at 5:47 pm #874268November 10, 2017 at 3:45 pm #875191Hi 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,
VictoriaNovember 10, 2017 at 6:05 pm #875268Perfect, you have a really excellent support! Thank you!
November 12, 2017 at 1:08 pm #875728Hi phamosa,
Glad we got it working for you! :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.