Skip Navigation

[Resolved] Button full width

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 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Waqar 8 months, 2 weeks ago.

Assisted by: Waqar.

Author
Posts
#2692415

Hi Christopher,

You helped me make one full width button on the page hidden link 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 hidden link
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