• [ Moved to the Fixing WordPress sub-forum. ]

    Hey forum peoples,

    I’m a mega amateur and I was playing around with the style.css on my site trying to change the site logo image and it’s vanished.

    This is my page https://www.danthemansfencing.com.au/

    and this is the part of style.css that I was playing with

    .site-logo {

    /* background: url(“images/fence_quote_header_reduced.png”) no-repeat scroll center top / 501120px auto rgba(0, 0, 0, 0);*/

    /* background-position: 12px 12px !important;*/

    /* background-size: 1080px auto !important;*/

    background: url(“images/fence_quote_header_reduced.png”) no-repeat scroll 0 0 rgba(0, 0, 0, 0);

    margin: 0 auto;

    max-width: 1080px;

    position: relative;

    }

    If anyone could help out that would be awesome!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    https://www.danthemansfencing.com.au/wp-content/themes/dan_the_mans_fencing/images/fence_quote_header_reduced.png gets a 404 error — there’s no such file. Double check what you have in the images directory of your theme.

    Thread Starter danwedd

    (@danwedd)

    Thanks for your reply Steve!

    I do have that image in my media folder the url is

    https://www.danthemansfencing.com.au/wp-content/uploads/2017/01/fence-quote-header-reduced-e1484519688611.jpg

    I tries to change the style.css to this but still no luck

    .site-logo {

    /* background: url(“fence-quote-header-reduced.jpg”) no-repeat scroll center top / 1080px auto rgba(0, 0, 0, 0);*/

    /* background-position: 12px 12px !important;*/

    /* background-size: 1080px auto !important;*/

    background: url(“fence-quote-header-reduced.jpg”) no-repeat scroll 0 0 rgba(0, 0, 0, 0);

    margin: 0 auto;

    max-width: 1080px;

    position: relative;

    }

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    set the background URL to https://www.danthemansfencing.com.au/wp-content/uploads/2017/01/fence-quote-header-reduced-e1484519688611.jpg

    Thread Starter danwedd

    (@danwedd)

    Already tried that and it didn’t work ; (

    Any other ideas? and btw thanks for your help so far!

    Thread Starter danwedd

    (@danwedd)

    Could it have something to do with the background position?

    .site-logo {

    /* background: url(“https://www.danthemansfencing.com.au/wp-content/uploads/2017/01/fence-quote-header-reduced-e1484519688611.jpg”) no-repeat scroll center top / 1080px auto rgba(0, 0, 0, 0);*/

    /* background-position: 12px 12px !important;*/

    /* background-size: 1080px auto !important;*/

    background: url(“fence-quote-header-reduced.jpg”) no-repeat scroll 0 0 rgba(0, 0, 0, 0);

    margin: 0 auto;

    max-width: 1080px;

    position: relative;

    }

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    No, it has to do with how you’re entering the URL. It’s relative to the stylesheet, but the actual image is in wp-content, so the first item (the one you’ve commented out) is what you should be using.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Disappearing site logo’ is closed to new replies.