Support » Theme: Relative » Front Page – Is there More?

  • Resolved wpwd2016

    (@mwarbinek)



    Your demo shows a short front page, with blog listings and a right side widget with content.

    Can the home page (front page) have more static content, where the blog entries are pushed further down?

    I tried looking at the theme itself, the theme description at your home page/demo but cannot find any indication that the front page can or cannot contain more static content. I even tried adding more content to the front page itself in the editor, but any added content does not show.

    Can you elaborate on this?

    Thanks

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

    (@bloggingthemes)

    Hmmmm…. interesting idea. I never thought about that, so I just tried it in my test site and was easily able to do it. So I think I will probably add this to an update. So what you can do is edit the theme file directly as this will be in the next update.

    Open this file:

    /page-templates/template-frontpage.php

    Right after this:

    <main id="main" class="site-main">

    Add this code:

    <?php
    while ( have_posts() ) : the_post();
    get_template_part( 'template-parts/page/content', 'page' );
    endwhile; // End of the loop.
    ?>

    Then, when you open your “home” page in the editor, you can add content.

    Your a genius, I was just researching that also.

    I think that will really enhance the theme.

    Just a suggestion, create an option to have the front page with a sidebar or no sidebar (full width content) and still have the 3 icon set.

    The “page builder” template kinda works, but there are no left/right borders (padding) and the icon set does not appear and no blog lists. The default template is perfect, but no 3 icon set and no blog lists. (I can replicate the icon set [or sometimes called “Service Boxes”] myself though)

    (No issue on the blog list, I can add that to one of the bottom widgets, which is where I intended it to go anyway)

    Much thanks! 🙂

    • This reply was modified 5 months, 2 weeks ago by  wpwd2016. Reason: More info
    • This reply was modified 5 months, 2 weeks ago by  wpwd2016. Reason: More info
    • This reply was modified 5 months, 2 weeks ago by  wpwd2016. Reason: more info
    • This reply was modified 5 months, 2 weeks ago by  wpwd2016. Reason: Fixed info

    Just to let you know, I worked the icon boxes the same way. I used the banner widget and inserted the same HTML that the icon boxes used and they appeared exactly the same way.

    This is a work-around, but works fine when the page is set at default template instead of front page template.

    A blog list widget was placed into the Post Inset Widget. The result is smaller than what you designed using the front page template, but works showing small thumbnail images of any post featured image. Of course, there are always short-code plugins that will do something similar when inserted into the front page editor.

    With this work around, to change the icon boxes (color, content, etc) requires HTML/CSS work, instead of just the customizer, but that is what I do. Of course, I would use the customizer to create any changes to the icon boxes (without saving), then view the HTML in the preview window, use the browser inspector, copy the HTML and paste into the banner widget which takes HTML.

    (I detailed my method for anyone else that may want to do the same thing).

    It works 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.