Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi all,
I looking for a way to hide the main page content only on
the front page in my Omega subtheme.
Even If I try to restrict the content in block configuration, I can still set the content
it just shows underneath the original block.
If anyone has suggestions let me know
thanks
-Verto
Comments
Comment #1
Verto CreditAttribution: Verto commentedI can still *see the content
Comment #2
himerus CreditAttribution: himerus commentedPersonally, I use the Delta module (http://drupal.org/project/delta) for this type of need.
I simply create a new Delta/Context that will on the homepage disable the content region/zone.
So for all default (non-front page) layouts, everything is laid out as normal, but on the homepage, I'll completely disable the entire content section (content, sidebars).
Comment #3
Verto CreditAttribution: Verto commentedHey, that works great thank you very much!
If you don't mind me asking one more question even though it's not the same subject.
What is the best way to override 960.css?
My .info file looks correct — stylesheets[all][] = css/subtheme.css
Yet, all styling is still running through 960.css
Thanks again for the Delta suggestion.
-Verto
Comment #4
protools CreditAttribution: protools commentedcss [weight] = 10 ?
Comment #5
fubhy CreditAttribution: fubhy commentedcss[] was added in 7.x-3.x so this doesn't work in 7.x-2.x
Comment #6
Verto CreditAttribution: Verto commentedOh cool, I had 7.x-2.x I'll try the new version
Comment #7
Argus CreditAttribution: Argus commentedclosing spree...
Comment #8
fubhy CreditAttribution: fubhy commentedThanks for your help on the Issue Queue Argus. Very much appreciated.