• Resolved extan

    (@extan)


    Hello !

    I have been stuck for quite a while on this page. There are two white bars (just after the menu, and just before the footer) surrounding the main content of the page, and I would like to get rid of them. I tried to remove all the paddings I could find, and tried to edit the css live using chrome’s developpement tool, but I could not remove them.

    I created the page using SiteOrigin prebuild layout : https://layouts.siteorigin.com/layout/sport/

    Here is the page I’m strugglig with : https://94.23.62.129/wordpress/?page_id=178

Viewing 10 replies - 1 through 10 (of 10 total)
  • You can add the following CSS to your WordPress, using Advanced CSS Editor plugin, to do that:

    .siteorigin-panels .page .entry-header {
    	margin-bottom: 0 !important;
    }
    
    .siteorigin-panels .page .page-wrap .content-wrapper {
    	padding-top: 0 !important;
    }

    Hope it works. ??

    Thread Starter extan

    (@extan)

    Very nice ! But it just made the bars thiner =( Is it possible to completly remove them ?

    .page .page-wrap .content-wrapper  {
        padding-top: 0 !important;
    }

    Try adding this. The second part of the code was to remove that thin line. Not sure why it’s still there.

    Thread Starter extan

    (@extan)

    Hmmm are you some sort of wizard ? :p Thank you ! =) However, I also added

    .page .page-wrap .content-wrapper  {
        padding-bottom: 0 !important;
    }

    to the mix, but I still have the bottom bar (dammit, I thought I had it …). Any idea why ?

    Try adding this:

    .siteorigin-panels .content-area .hentry {
        padding-bottom: 0 !important;
    }
    Thread Starter extan

    (@extan)

    Man, at this point I just feel bad asking, but it reduced it without removing it,… how is this even possible ? Did I mess up something ?

    This was something that I missed, not you. Adding this will fix it:

    .siteorigin-panels .entry-footer {
    	margin-top: 0 !important;
    }

    Hope that will do it. ??

    Thread Starter extan

    (@extan)

    Alright, wizard confirmed ! Thank you sooo much ! Have a nice day man !=)

    Thread Starter extan

    (@extan)

    SOLVED !

    Glad to know. ?? **goes back to Hogwarts**

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[CSS] Page display’ is closed to new replies.