Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #21209

    Hi!

    Im trying out an front page alternative with only a background image slider (with the plugin WP-Supersized). I found the following code in another thread for changing the header to transparent:

    #header .container_wrap.main_color {

    background: transparent;

    }

    I’ve created a new page template with no elements, but I have some problems: Even with no elements, the “page” content is still shown (2px in height), and the header gets a scrollbar and is scrollable a little bit. And the dropdown-menu is only shown in the header (gets cut off).

    http://agwp.agarkitekter.se/test/

    User: test

    Psw: test

    #111001

    Hi,

    Please add the following css block to the bottom of the /css/custom.css file; OR to Quick CSS located in the admin area of Eunoia > Theme Options > Styling … the text area at the bottom of that page:

    html, body {
    overflow-x: visible !important;
    }

    Thanks,

    Nick

    #111002

    Hi agarkitekter,

    I don’t know what you have for the php content for the page, but you can remove the pages background color (the white line) with:

    #top.page-id-351 #main .container_wrap.main_color {
    background-color: transparent;
    }

    Which targets that specific page ID and then makes the background transparent.

    The same with the scrollbar, not sure what content is causing it to think it has more content available, but you can remove it by adding an overflow hidden to the main body and html:

    html, body {
    overflow: hidden;
    }

    I don’t know what effect that will have on other parts of the site however.

    Regards,

    Devin

    #111003

    Thanks guys, works perfectly!

    I really appriciate the good support in this forum!

    #111004

    Glad that Devin got you back on track! Enjoy the Theme!

    Thanks,

    NIck

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Page without content, header problems’ is closed to new replies.