Passer la navigation

[Résolu] Button full width

This support ticket is created Il y a 2 years, 1 month. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Fuseau horaire du supporter : Asia/Karachi (GMT+05:00)

Ce sujet contient 1 reply, a 2 voix.

Dernière mise à jour par Waqar Il y a 2 years, 1 month.

Assisté par: Waqar.

Auteur
Publications
#2692415

Hi Christopher,

You helped me make one full width button on the page lien caché with the code:
.post-type-archive-product .wp-block-toolset-views-view-template-block .tb-button .tb-button__link {
width: 100%;
}

But I also have the pages with categories lien caché
What is the code to make the button full width here?

#2692455

Hi,

Thank you for contacting us and I'd be happy to assist.

To make that custom CSS code work for other pages/archives too, you can update it to:


.wp-block-toolset-views-view-template-block .tb-button .tb-button__link {
width: 100%;
}

regards,
Waqar