• Resolved glennyg

    (@glennyg)


    hi

    I need to know how to remove or resize the grey box in the background.

    Ive spent 2 days on this and no answers ?? please help!

    https://www.half-glassed.com/
    The theme is ‘Glossy Stylo’

    sorry, i’m a newb at this….Thanks in advance!

    Glenn

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter glennyg

    (@glennyg)

    Or maybe you could give me the name of what it is called, and then i can locate it and change it? I dont know what it’s called ??

    It looks like the grey background is made up of three pieces. The top part is made in the header, the main square is made in the post, and the bottom part is made in the footer. I’m not surprised it was driving you crazy – it’s an unusual approach.

    A quick and easy way to stop it from showing is to hide it, which you can do with CSS. Add the following to the CSS for the theme, or ideally to a child theme if you’re using one:

    #postheader
    {
    background-repeat: no-repeat;
    }

    .post
    {
    background-image: none;
    }

    #postfooter
    {
    background-image: none;
    }

    This will only stop the grey box from showing. It will still really be there in the site, just not visible.

    If you know a little PHP and CSS and you’re comfortable editing the theme files (or better still making child theme files and amending those) you should look for and change the code that adds ‘post.png’ to .post, ‘postfooter.png’ to ‘#postfooter’ and ‘postheader.png’ to ‘#postheader’. The theme developer or their own support forum may be able to help you with this if you are unsure.

    Thread Starter glennyg

    (@glennyg)

    You are too kind! thanks so much for your time and effort!

    I will give this a go now ??

    Cheers,

    Glenn

    Thread Starter glennyg

    (@glennyg)

    Almost perfection… I have a little bit left at the top. Any ideas? Thanks again!

    https://www.half-glassed.com/

    Thread Starter glennyg

    (@glennyg)

    all good! I worked it out. A million thank you’s!

    Sorry glennyg I made a mistake with copying and pasting for the postheader. I expect it should have been

    #postheader
    {
    background-image: none;
    }

    But I guess from what you have written that you worked that out yourself.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to delete grey box. PLEASE HELP!’ is closed to new replies.