Home›Types Community Support›[Resolved] sidebar getting mixed in content when layout has sidebar and view in a row
[Resolved] sidebar getting mixed in content when layout has sidebar and view in a row
The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 6 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.
I am trying to: have sidebar responsive in a row in a layout. I have a view which shows in a layout. If I add sidebar, it is not responsive.
Link to a page where the issue can be seen: hidden link
I expected to see:
I expected that sidebar will go to bottom as it is responsive website
Instead, I got:
sidebar row mixed with other rows.
Firstly, please note that you are posting in the Community Forum for users of the free Types plugin. As a Toolset customer you can and should post in the Technical Support forum which we prioritise and where you should receive speedier service.
You have added custom CSS to the site which overrides the Bootstrap styles responsible for the responsive grid—see the screenshot.
Disabling those custom styles restores the responsive-ness of the layout.
Hi. Thanks for replying. I will follow your advice and will post in other forum from next time.
Regarding my problem, your instructions don't seem to work. I removed custom css from avada. but still there is a problem on same page with sidebar. Can you login and check? see the screenshot
Hi. I understood what you said. I then reset database. Did everything over again. Presently, my website is working without any Avada theme plugin. I have not even modified Avada theme basic settings. It is now "as is". I have now added no custom css modification whatsoever in toolset or avada. But problem persists. See the screenshot. I cannot understand where I am wrong. Can you please help me?
I took another look and it turns out that Avada adds 365Kb (!!) worth of inline styles to the header by default, in addition to the theme's own stylesheet.
For some unknown reason those inline styles cripple the Bootstrap responsive grid—even though Avada has its own grid system—and I cannot see how to modify just those styles in the theme settings.
You can disable this fatberg of CSS in its entirety, but cannot selectively remove parts of it, which means that you can re-gain the use of the Bootstrap grid at the expense of being able to use Avada theme settings to customise CSS (you can still add your own CSS rules).
There may be side effects in terms of the theme styling.
If you want to try that and see how it affects your site then you can disable this block of CSS by adding the following PHP to your child theme's functions.php: