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 Danny,
I know I asked this question before (for a different site) but I don't remember where the option was, sorry for being a pest.
I need the slogan to float to the right and the logo to the left instead of both being centered.
Also, how can I change the background color where those elements are, from black to something else?
Best regards.
Comments
Comment #2
Danny EnglanderHi, yes, please see #2421229: need custom logo to float left, instead of stuck at center top. As for the black background area, you can view that with Chrome or Firefox web inspector and then find what CSS controls that and then adjust it in an override file.
Comment #3
roball CreditAttribution: roball commentedRegarding the second question of this support request - I also wanted to change the header's background color from the default of black (
#000000
). Here is the CSS override that worked for me - in this example I changed the color to transparent:Comment #4
ckosloff CreditAttribution: ckosloff commentedI assume that you did this in your sub-theme.
Could you please tell me where did you add or modify the CSS.
Thank you.
Comment #5
roball CreditAttribution: roball commentedckosloff, you can use
local.css
to override CSS.Comment #6
ckosloff CreditAttribution: ckosloff commentedOK, thanks.
Please let me know where did you add this local.css.
I see that in the sub-theme there is a css folder with a file in it.
The file is called subtheme-styles.css but it is blank, add you code there?
Edit: that did the trick, solved.
Thank you.
Comment #7
Danny Englander@roball & ckosloff, glad you got that all sorted out. I'll leave this as fixed.