- This topic has 47 replies, 3 voices, and was last updated 7 years, 5 months ago by
Ivan Cazorla.
-
AuthorPosts
-
June 6, 2018 at 2:51 am #592923
David
StaffCustomer SupportThen 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 Cazorla
I’ll do that.
Thanks,
IvanJune 6, 2018 at 3:41 am #592952Ivan Cazorla
Okay 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 #592960David
StaffCustomer 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 Cazorla
Now 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 #593014David
StaffCustomer 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 Cazorla
it 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 #593033David
StaffCustomer SupportThis class for the specs:
.woocommerce-Tabs-panel--additional_informationJune 6, 2018 at 6:03 am #593034Ivan Cazorla
thanks so much!! I guess this case is solved. Many thanks!
June 6, 2018 at 6:06 am #593035David
StaffCustomer 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 Cazorla
Perfect, 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 #594162David
StaffCustomer 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 Cazorla
Hi 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 #693315David
StaffCustomer SupportHi Ivan,
Which site is the problem on?
October 4, 2018 at 7:35 am #693320Ivan Cazorla
Hi 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.