WordPress.org

Support

Support » Themes and Templates » [Resolved] Homepage like quarktheme.com

[Resolved] Homepage like quarktheme.com

  • First of all, I love Quark! This is an awesome starter theme and I haven’t had any problems with it. I do have a question about something you did not on the demo site but the site quarktheme.com.

    On the home page it looks like you have a few different pages stacked on the home page, with different background colors. Can you tell me how you did this?

    Thanks a ton!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Anthony Hortin

    @ahortin

    You’re correct, each coloured row is basically a different post.

    I used Advanced Custom Fields to create some extra meta boxes for my posts that allowed me to select the background colours/image. I then modified my templates to create a full width container around each page with the id of the post. Lastly, within functions.php, I add css to the page head using the items selected in the extra meta fields for the background colour/image of each page “row”.

    Hope this helps.

    how did you make the home page full width. i’m trying and i seem to be failing?

    Theme Author Anthony Hortin

    @ahortin

    I simply removed the function that retrieved the sidebar template

    <?php get_sidebar(); ?>

    and changed the grid class from grid_8_of_12 to grid_12_of_12.

    This is in index.php, as I’m showing the blog posts on the Homepage, not a static page.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Homepage like quarktheme.com’ is closed to new replies.