Skip Navigation

[Resolved] Woocommerce search options + results in visual composer row

This support ticket is created 7 years 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/Hong_Kong (GMT+08:00)

This topic contains 2 replies, has 2 voices.

Last updated by Luo Yang 7 years ago.

Assisted by: Luo Yang.

Author
Posts
#590965
view-in-column.JPG

Hello again 🙂

I've created a view with a search form, and then I've inserted the view into a page, built with Visual Composer.

The search section of the view is changing width, matching the column width, set in Visual Composer, so that's fine.

But the search results are taking up the full width of the page, even though I put the view inside a column, that's only 3/4 width of the page. There's content in the right 1/4 column on the page, that is blocked by the search results content.

See this page hidden link

It's supposed to act like this

hidden link

Thanks for your time,
Best regards, Lykke

#591053
visual-composer-content-template.JPG

Hi,
I found a solution, it was the "container" class in the div that caused the issue.

But another issue came up while creating a content template for the products. I am using Visual composer, and I have set the width of the row as "default", but the content is full width, look here hidden link

See attached image, that's the content template.

Hope you can help me figure out why the product content template is different than the Visual Composer setup.

Thanks for your time,
Best regards, Lykke

#591108
css2.JPG

Dear Lykke,

It is a custom CSS codes problem, for example you can try below CSS codes:

.vc_row  .row-container{
display: block;
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
}

See screenshot: css2.JPG