• Resolved moonier

    (@moonier)


    Hey,

    i want to add a Background Images to the Masthead of Astra Theme. Now i can’t find the Code/File of this Section.

    The Section get called through astra_header().

    Where i can find the Code/File for it?

    And why i can’t change the CSS-Properties of the Masthead?

    Best Wishes

    • This topic was modified 3 years, 8 months ago by moonier.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @moonier,

    By the Masthead, did you mean you would like to give your site header a background image?
    
    There is a dedicated option to do that on the Customizer if you are using the Astra Pro. Please refer to this doc for more on that. However, on the Astra theme, you are going to need CSS code to give your site header a background image. Please try adding the following CSS code in Appearance > Customize > Additional CSS

    .main-header-bar {
    	background-image: url("your-image-url");
    }

    Replace your-image-url with your actual image url and feel free to modify the code above.

    I hope that will help.

    Kind regards,
    Herman 🙂

    Thread Starter moonier

    (@moonier)

    Hey Herman,

    thanks for your helpful answer.

    It works now 🙂

    Best Regards,
    Moonier

    Cool!
    
    Happy to know you find it helpful for you, @moonier. Please mark the topic as resolved and do let us know if there’s anything else we can help you with.

    Have a nice day and stay safe!

    Kind regards,
    Herman 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Code of Masthead’ is closed to new replies.