Skip Navigation

[Resolved] Allign center the

This support ticket is created 5 years, 1 month ago. 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 -

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

This topic contains 2 replies, has 2 voices.

Last updated by Christos 5 years, 1 month ago.

Assisted by: Waqar.

Author
Posts
#1391895

How can i align center the view search according the results view. Check print screen hidden link

The page is hidden link

Thank you in advance

#1392243

Hi Christos,

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

From the screenshot, I understand that you'd like to center align the search form so that it doesn't fill the full width of the page.

If that is correct, you can target the div with class "wp-block-toolset-views-custom-search-container" with custom CSS code:

Example:


.wp-block-toolset-views-custom-search-container {
margin: 0px auto;
width: 80%;
}

Tip: To check the page's HTML elements and see the corresponding CSS code that is applying to them, you can use Google Chrome's inspect element tool, as explained in this guide:
hidden link

regards,
Waqar

#1393881

My issue is resolved now. Thank you!