Removing sitewide area?
PermalinkUsing C5 for the first time and the Elemental theme.
Is there any way to delete a sitewide area? (The sitewide header search area if you wanna get specific)
(Sorry if this is in the wrong forum!)
Deleting a sitewide global area would require making a copy of the Elemental theme and removing/commenting out the code for the area.
Because of how the Elemental theme was designed, you do not have to delete the Sitewide Header Search Area to prevent it from being displayed.
The Sitewide Header Search Area only displays if it contains a block. If it does not contain a block, it will only display in Edit Mode. All you need to do is delete the Search block within it to prevent it from being displayed.
I deleted all the blocks from the sitewide header area and yes, there is nothing displayed above the slider area but there is now a space in that area above the slider area.
Please see attachment.
I wanted to push the slider all the way to the top of my webpage. It's especially annoying on a mobile device like an iPhone......
Didn't want to do a custom layout.
Any ideas?
Thanks
Even without blocks, there is padding and a border on the header.
You can try using this CSS to override them.
div.ccm-page header { padding-top: 0px; padding-bottom: 0px; border-bottom: 0px; }
This can be added to your site using Custom CSS.
Toolbar > Page Settings (gear icon) > Design > Theme > Customize > Custom CSS gear icon button
File? Database?
FYI
On some areas/blocks (example Page Footer Area) to get rid of all styling including padding you can just Clear the Styles via the redactor editor.
Edit Area Design > Gear Box > Clear Styles