In the original Agency Theme, each section alternates a full width background color.
In your Drupal Bootstrap Agency Theme you can certainly create blocks that will emulate these sections but, none of them alternate in background color and, if you try to integrate a background color on any of these blocks, it won't expand to the full width of the page like the Page Splash or, Contact blocks.
Is there a step that isn't documented here we would need to follow in order to produce this full-width feature or, are we left to do what we can with content-width blocks?
Comments
Comment #2
jcnventuraYes, this is something that I couldn't solve without breaking the base Bootstrap theme.. If you find a way, I'd be happy to integrate it in the module.
Comment #3
penone commentedCurious...why not just add some css?
What I did was the following:
stylesheets[all][] = css/custom.cssto the INFO file under stylesheetsThat worked for me and as of now no issues - although just started playing with this theme.
Comment #4
danielgeez commentedThank you for the suggestion but, #3 did not work for me. Followed all steps and no luck at all.
Would you be able to upload screenshots of your successful full-width blocks in action? I may be missing something but, In the latest build of this theme, ".container-fluid" is not a part of the CSS class for a block.
Example:
<section id="block-views" class="block block-views contextual-links-region">CONTENT</section>Comment #5
b4pq-llc commentedUnder appearance/settings for the theme choose none for CDN provider for loading bootstrap CSS. That gave me full width blocks.
Comment #6
fredfab commentedI've find a CSS trick that work perfectly from this website: css-tricks.com
In my CSS i had a class named "fullwidth-block" with these parameters :
Just apply this class at the sections you want to be full-with and It work like a charm.
If you only want the background color to be full-with, apply the class "fullwidth-block" to the section, and apply the class "container" at the div inside this section.
Comment #7
jcnventura