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.
to remove "content section" but not "content region" containing sidebars, i used delta, for front page
i also created a css file global-front.css, instead of tpl file ( drupal_add_css ), i enable the global-front.css in delta template configuration page
in the frontpages source i can see my css included by jquery , which i wish was added normally
anyway, it's not applied, no matter how i set it's weight, what am i doing wrong?
i added front-global.css to theme in info file,i adopted lines of global.cc and changed name and weight
Comments
Comment #1
kendallsv CreditAttribution: kendallsv commentedhi i don't know if you still having this problem, if you do try to do the basic steps:
-Create the CSS file into the your active drupal theme.
-Added the CSS file into your theme info file.
settings[alpha_css][global-front.css] = 'global-front.css'
css[soar-faqs.css][name] = 'CSS custom'
css[soar-faqs.css][description] = 'This file will hold all the globally custom CSS.'
css[soar-faqs.css][options][weight] = '15'
-Created your new delta at admin/appearance/delta/add (REMEMBER select in the "Theme" select box, the theme that your drupal site is using or will be use., maybe right there is your problem.)
-Go to your delta configuration page something like: admin/appearance/delta/list/[your-delta-name]/configure.
-At the tab toggle styles check your CSS file.
-Flush caches and clean your site cache.
Comment #1.0
kendallsv CreditAttribution: kendallsv commentedfixed