Viewing 15 replies - 1 through 15 (of 15 total)
  • Hey DorianKoci !

    Note that if you remove the white background, it will affect the readability of your content. Here is how to do it:
    in your style.css search for this code :

    .hentry {
        background-color: white;
        border: 1px solid #cccccc;
        border-radius: 3px;
        margin-bottom: 1.5em;
    }

    and change it to

    .hentry {
        background-color: transparent; ===> this will make bg transparent
        border: none;   ===> in case you want to remove borders
        border-radius: 3px;
        margin-bottom: 1.5em;
    }
    Thread Starter DorianKoci

    (@doriankoci)

    There is no piece of code in the style.css file. I put the second code there but nothing changed.

    I can see the code for .hentry in your style.css file? Can you try doing a search for .hentry? That should pull it up so you can replace it with the snippet suggested above.

    style.css, line 1414ish maybe?

    style.css, line 1414ish maybe?

    Don’t forget to use a child theme so this change doesn’t get discarded when you receive updates . I can see your style.css file here
    http://www.tiranapubcrawl.com/wp-content/themes/eddiemachado-bones-9db85e4/style.css

    but paste only this

    .hentry {
        background-color: transparent;
        border: none;
        border-radius: 3px;
        margin-bottom: 1.5em;
    }

    when I wrote ==> in front of some properties it was to explain what every property does , paste the code without explanation and it will work just fine πŸ™‚

    cheers !

    Thread Starter DorianKoci

    (@doriankoci)

    Thanks for your help but still not working.

    plz verify what you did and that you copied things or modified things correctly πŸ™‚ if it worked with the inspection tool it works by directly modifying the stylesheet

    Thread Starter DorianKoci

    (@doriankoci)

    It’s working now. Thanks for your help.

    Thread Starter DorianKoci

    (@doriankoci)

    I need some more help. I want to remove the Page name and post date and author name like showing in the picture below.

    Thread Starter DorianKoci

    (@doriankoci)

    Thread Starter DorianKoci

    (@doriankoci)

    Also I removed the sidebar from one page but it left a blank space in the sidebar place. Check the home page please to see this issue.

    glad 1 prob was solved πŸ™‚

    to remove author name etc look for :

    .hentry header {
        border-bottom: 1px solid #f8f9fa;
        padding: 1.5em;
    }

    and add to become

    .hentry header {
        border-bottom: 1px solid #f8f9fa;
        padding: 1.5em;
        display: none;
    }

    here is the result

    View post on imgur.com

    btw for the sidebar blank space, that would need some work at theme files level and your website from what I see is still fresh , nothing done yet so if you still need help with it let me know and I ll help you succeed πŸ™‚

    Thread Starter DorianKoci

    (@doriankoci)

    I am creating the content but before publishing it I want to fix the layout.

Viewing 15 replies - 1 through 15 (of 15 total)

The topic ‘Remove white background on posts and pages’ is closed to new replies.