WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Adding background in the header of SimpleGrid template (6 posts)

  1. markettoz
    Member
    Posted 1 month ago #

    Hi all,

    how can I add an image as background in the header of the SimpleGrid theme?

    Really thanks in advance!

    Marco

  2. ErnestClose
    Member
    Posted 1 month ago #

    Hi Marco, do you have a link to the site? You can add it with css, either in a child theme or with a custom css plugin. That way you will not lose your changes if the theme updates.

  3. markettoz
    Member
    Posted 1 month ago #

    Hi Ernest,

    my site is http://www.consulentiviaggi.com

    Can you kindly help me?

    Thanks in advance,
    Marco

  4. ErnestClose
    Member
    Posted 1 month ago #

    Hi Marco, Add this to your custom css:

    #header {
    	background:     url(http://content.screencast.com/users/ErnestClose/folders/Jing/media/0bbad278-f3ee-4af4-9b22-dfa556f96392/Formentera.jpg) no-repeat center;
    }

    Just swap the url() link with your own image or for color do this:

    #header {
    	background-color: #66CCCC;
    }

    Here is a screenshot showing the image.
    http://www.screencast.com/t/60ooucv4N

    Let me know how it works for you.

    Regards

    Ernest Close

  5. markettoz
    Member
    Posted 1 month ago #

    That's perfect!
    Thank you very much Ernest, really appreciated!

  6. ErnestClose
    Member
    Posted 1 month ago #

    Always a pleasure.

Reply

You must log in to post.

About this Topic