• Hi all.

    I’m building my site through the Hatch 0.1.7 theme by Galin Simeonov, and I’m trying to have my home page open into a static page with one embedded ‘full width’ templated video, but the video (hosted w/ Vimeo) comes out as a tiny, strangely-formatted thumbnail, resembling a tiny post thumbnail.

    I don’t know if this is a bug in the theme, but I think I’ve followed the instructions precisely, creating new home page, a new blog page, and then pointing the new home page and pointing posts to the blog page, through Settings->Reading.. (Btw, I don’t have any pages named “home” and I’m not having any problems with navigation for this new static home page- which seem to be the only category of problems that turn up when researching this issue)

    I’ve tried all sorts of troubleshooting, leaving my new “home” page off the menu scheme, leaving the template on default, etc. but no matter what the content or configuration, I always end up with the these tiny bizarre thumbnail versions of an embedded video. (which, despite not showing any vimeo playbar overlays, will play if clicked on)

    I haven’t messed with the php templates (obviously not a developer), but in earlier stages of building my site, I REMOVED the content in the COMMENTS php template.. (I couldn’t figure out how to disable comments through the various dashboard options). This gave me results in terms of getting rid of the embedded comment areas on each page, but now I wonder if this template was integral somehow to some of the functionality. Everything works fine on the site, but I can’t seem to get this static page ironed out.

    Any input greatly appreciated.

    Thanks, Matt

Viewing 10 replies - 16 through 25 (of 25 total)
  • You have to set the entries as sticky posts, at lest the once you want to have on your first page. If that is not how it should be done it did work for me

    Does anyone used the gravity form in the contacts pages. ?

    I need helppppp

    I’ve been trying to figure out how to add some text to the static home page of my bf’s website: https://www.vincentbrun.com/, as shown in the demo… (on the left of the top image)

    Can anyone tell me where to look? Thanks:)

    Nevermind, I figured it out! lol ??

    anyone can tell me how I can modify text on the left (biography)? I want it will be justified. I don’t know how do this. https://www.vincentbrun.com/,

    Hello all, after trying to figure out how to achieve this on my own site for a few hours I figured it out.
    You need to edit style.css and replace

    .home .hentry, .archive .hentry {
    	float: left;
    	width: 23.40425531914894%;
    	height: 150px;
    	margin: 0 2.127659574468085% 20px 0;
    	position: relative;
    	overflow: hidden;
    }

    with

    .home .hentry {
    	float: left;
    	width: 100%;
    	margin: 0 0 20px 0;
    	font-size: 1em;
    }
    .archive .hentry {
    	float: left;
    	width: 23.40425531914894%;
    	height: 150px;
    	margin: 0 2.127659574468085% 20px 0;
    	position: relative;
    	overflow: hidden;
    }

    And then in the wordpress reading settings page change the frontpage to be the static page you want.

    I used this for the static page home issue and it worked great – except the footer now displays alongside to the right of the page instead of at the bottom. Anyone know how to return it to normal?

    Looks like this.

    Edit: Started a new thread here: Hatch Theme: Static Homepage css affecting blog page

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Greenbike,

    You’re more likely to receive help if you post your own thread, hope that helps.

    I switched to a much simpler coded theme (Designer by Dessign.net) and it seems to be working well for my tweaking purposes. However, I would still like to know if anyone knows how to fix the issue I was having…

    I wanted to get the static front page working and here is the hack I’ve used to make it work for me. It seems to work ok but I guess you’d have to try it to see if it works for you too. I’ve used Hatch 0.21.

    Note: This works OK for me but if you decide to do this make sure you at least backup this file before you change it.

    After you’ve changed the code you can set the static front page and WordPress should render it ok. You can then tweak the CSS if needed.

    You can see the end result on a site I’ve used it on at: https://www.justgentz.co.uk

    – Locate the file context.php in themes/hatch/library/functions

    – Locate the function hybrid_get_context

    Comment out these two lines in that function:

    if ( is_front_page() )
          $hybrid->context[] = 'home';

    Becomes:

    //if ( is_front_page() )
          //$hybrid->context[] = 'home';

    Should look like this after editing:

    function hybrid_get_context() {
            global $hybrid;
    
            /* If $hybrid->context has been set, don't run through the conditionals again. Just return the variable. */
            if ( isset( $hybrid->context ) )
                    return $hybrid->context;
    
            /* Set some variables for use within the function. */
            $hybrid->context = array();
            $object = get_queried_object();
            $object_id = get_queried_object_id();
    
            /* Front page of the site. */
            //if ( is_front_page() )
            //      $hybrid->context[] = 'home';
    
            /* Blog page. */
            if ( is_home() ) {
                    $hybrid->context[] = 'blog';
            }
    
            // rest of function...
Viewing 10 replies - 16 through 25 (of 25 total)
  • The topic ‘HATCH theme: trouble with static HOME page’ is closed to new replies.