Static image on Frontpage / Sidebar-Problems

This topic has 3 replies, 2 voices, and was last updated 7 years, 2 months ago ago by Olga Barlow

  • Avatar: made73
    made73
    Participant
    September 18, 2017 at 17:31

    Hi,
    i want to have a simple header-image under my logo (and above the blog-posts).
    I tried with a new page that i defined as frontpage, but with this solution (i choose “blog modern”) the presentation of the blog-posts is not the same, because the newest post is bigger. also is my static image not full-width

    next question: my startpage should not have a sidebar. so i define under theme options > blog layout the grid and sidebar position “none” (i clicked the left image for “no sidebar”)
    ok this works, but on the single post i want to have a sidebar, so i define unter “single post” the option “sidebar right” (default). but it seems that this will be overwritten from the blog layout-option. It only works when i define in each post “sidebar right” (a client will forget this)

    2 Answers
    Avatar: made73
    made73
    Participant
    September 19, 2017 at 08:45

    I find out that i can display a static image in full width by using the responsive slider.
    But the responsive slider is only available when i define a static page as frontpage. So i have still the problem with the post-overview. I dont’t want to have the latest post bigger in one row. I want the “grid” that i set in the theme option > blog layout

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    September 19, 2017 at 11:00

    Hello,

    1) Add the following code in page custom CSS http://prntscr.com/gmywhe

    @media only screen and (min-width: 480px){
    .et-blog .post-grid:first-child { width: 50%;}}
    
    .et-blog .post-grid:nth-child(odd) {
        padding-right: 15px;
        clear: both !important;
    }
    .et-blog .post-grid:nth-child(even):not(:first-of-type) {
        clear: none!important;}

    2) Go to Theme Options > Blog > Sidebar position > choose the Sidebar right > Save. After that go to Pages > edit your blog page and scroll down to 8theme Layout options > Sidebar position > Without. It will disable sidebar for the blog page only.

    Regards

  • Viewing 3 results - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.