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.
Sorry for using an issue. Can't seem to get this and I'm not sure it is my lack of understanding.
Per the attached screen capture, I am trying to tweak the css for the highlighed element. I have a subtheme and am using the css/style.css file to apply my override.
I tried several formats but none seem to stick. I tried putting an 'id' on the item in the twig too.
My latest attempt is
/**
* Place your custom styles here.
*/
/* #henriques_branding { */
#navbar-header {
display: inline;
}
#slogan-text .navbar-text {
margin-top: 60px;
font-size: 1.5em;
color: #000;
}
Any help would be really appreciated.
Thanks
Joe
Comment | File | Size | Author |
---|---|---|---|
Screen Shot 2015-12-14 at 1.29.26 PM.png | 413.68 KB | HeneryH |
Comments
Comment #2
HeneryH CreditAttribution: HeneryH commentedComment #3
markhalliwellAre you sure the library for your sub-theme (e.g. css/styles.css) is actually loading on the page)?
Comment #4
HeneryH CreditAttribution: HeneryH commentedI suppose that should mean something to me :)
This is the header for all or most of the pages on the site. Is there an edit I should make somewhere to insure the library is loaded?
Comment #5
markhalliwellHm, well... it sounds like you never enabled the sub-theme's library.
Did you rename all the THEMENAME files and text in your sub-theme's files?
Basically you should have the following two files:
THEMENAME.info.yml
THEMENAME.libraries.yml
Comment #6
markhalliwell