- This topic has 47 replies, 3 voices, and was last updated 5 years, 6 months ago by Ivan Cazorla.
-
AuthorPosts
-
June 6, 2018 at 2:51 am #592923DavidStaffCustomer Support
Then plugin you are using to break the tabs into separate sections is also stripping away their wrappers. This plugin expands the tabs but keeps each of the tabs in their own wrapper. Need to to add something like so and then we can target each of them with some CSS
June 6, 2018 at 3:34 am #592948Ivan CazorlaI’ll do that.
Thanks,
IvanJune 6, 2018 at 3:41 am #592952Ivan CazorlaOkay plugin and everything activated but I still have not managed to separate the sections. What am I missing?
thanks,
IvanJune 6, 2018 at 3:59 am #592960DavidStaffCustomer SupportI can’t see the sections, do you still have the other code / plugin installed that you used to break the tabs?
June 6, 2018 at 5:19 am #592995Ivan CazorlaNow the sections are visible, I had two different php codes messing around.
take a look: https://www.avancesliberty.com/tienda-cocina-estela/
But now everything is surrounded by the site-content container that has a padding on it. I cannot get full-width on each section yet.
thanks,
IvanJune 6, 2018 at 5:37 am #593014DavidStaffCustomer SupportSo try this to remove the padding from single post
.single-product #content { padding: 0; }
Give this a try to see if we can manage the first tab section:
.woocommerce-Tabs-panel--description { background-color: #f6f7f8; } .woocommerce-Tabs-panel--description > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
June 6, 2018 at 5:44 am #593023Ivan Cazorlait works! I’ll add some padding to each section and it should be done. What if I would like to background-color the specs section?
thanks,
ivanJune 6, 2018 at 6:02 am #593033DavidStaffCustomer SupportThis class for the specs:
.woocommerce-Tabs-panel--additional_information
June 6, 2018 at 6:03 am #593034Ivan Cazorlathanks so much!! I guess this case is solved. Many thanks!
June 6, 2018 at 6:06 am #593035DavidStaffCustomer SupportGlad to be of help.
As a note you may want to put your CSS within a MediaQuery to limit to desktop (and maybe tablet)June 7, 2018 at 8:16 am #594149Ivan CazorlaPerfect, I did it! Btw, I’ve also implemented this same thing in another website as you can check here: https://new.campingsport.es/platillo-base-canadiense/
But the problem is that it also wraps the images, title, short description and add to cart button and sticks it to the left and I don’t now why.
There isn’t any way to just wrap the sections from below? such as description and product attributes. Your help is much appreciated!
thanks,
IvanJune 7, 2018 at 8:52 am #594162DavidStaffCustomer SupportHi Ivan, i can’t see that issue. Have you fixed it?
There’s not really a simple way to wrap the lower content. The above wrapper is a bit of a hack, taking advantage of the social share hook, but it won’t work if you open the wrapper in that hook and close it at the end of the product.
October 4, 2018 at 7:21 am #693308Ivan CazorlaHi again, I’m still having this error, the entire block moves to the left, including the image, title and price. And I would only wrap the tabs and display them together in full screen so that I can add a color background to each one of them.
Is the code above only working with generatepress?
thanks,
IvanOctober 4, 2018 at 7:30 am #693315DavidStaffCustomer SupportHi Ivan,
Which site is the problem on?
October 4, 2018 at 7:35 am #693320Ivan CazorlaHi there,
On this one. I’m thinking a lot on changing the theme and use GeneratePress, but the only thing that he is holding me back is how I am gonna recreate the entire header with the vertical mega menu.
thanks,
Ivan -
AuthorPosts
- You must be logged in to reply to this topic.