WordPress.org

Ready to get started?Download WordPress

Forums

Quark
[resolved] Homepage like quarktheme.com (4 posts)

  1. tb92767
    Member
    Posted 4 months ago #

    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!

  2. ahortin
    Member
    Theme Author

    Posted 4 months ago #

    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.

  3. lspfeiffer
    Member
    Posted 3 months ago #

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

  4. ahortin
    Member
    Theme Author

    Posted 3 months ago #

    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.

Reply

You must log in to post.

About this Theme

About this Topic