Modyfying "Featured Content" Twenty Fourteen theme

  • Unknown's avatar

    Hi, I’m running the TwentyFourteen theme, but I’m a journalist and filmmaker so I don’t know how to make the tweaks I want to do to the theme. I’m trying to customize the theme using the CSS Editor and so far I’ve made a few changes I wanted. What I want to do, is to be able to show the featured content block, above the main sidebar, in full width. Also when changing the colors in the Colors & Backgrounds, the black color of the featured contents turns white, even though I don’t change it. So I would know how to make my theme black and red, instead of green, while maintaining the black color on the featured content. Thank you in Advance

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar
  • Unknown's avatar

    Hi, give this a try. What I’ve done is to use a Media Query to limit this to screen/window widths of 1008px and wider as that is when the left sidebar moves below all the content.

    @media screen and (min-width: 1008px) {
    #secondary {
        margin-top: 670px;
    }
    .featured-content {
        padding-left: 0;
        position: relative;
        z-index: 100;
    }
    .masthead-fixed .site-main {
        margin-top: 0;
    }
    }

    This isn’t optimal, but due to the structure of the HTML and CSS, this is about the best we can do.

  • The topic ‘Modyfying "Featured Content" Twenty Fourteen theme’ is closed to new replies.