Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved!] WordPress: How do I style a static front page?

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #31644
    Anonymous
    Inactive

    I want my static front page to look like this:
    http://www.aarongmoore.com/test/layout.html

    Whereas I want all other pages on my website to look like this:
    I want my static front page to look like this:
    http://www.aarongmoore.com/

    I did find this page: http://brassblogs.com/cms-platforms/wordpress/creating-wordpress-themes-front-page-styling
    However, when I tried to use the suggestion all pages on my site refused to load and said there was an error on line three — where the line was placed.

    I’m not sure how to customize the pages.php file in my theme to make the static front page look differently. I’m hoping someone on here will be able to help.

    #60078
    TheDoc
    Member

    There are a couple things you can do. What I do is use the index.php in your theme’s folder to style the home page. Some people use home.php.

    Sorry my brain is a little fried at the moment and I can’t quite explain it like I should – hopefully somebody can lend me a hand here.

    #60035
    Anonymous
    Inactive

    My assumption was that styling the index.php would do what I want. However instead that “customized” the main blog page, where I have ‘x’ number of posts displayed.

    #60037
    Anonymous
    Inactive

    I have my static page set to a certain page, not a post. Is there a way to have that page look different than other pages? Maybe using ‘if(is_front_page())’ somehow? I’m not sure.

    #60040
    Anonymous
    Inactive

    That was really easy, once I figured out that you can select the template for a page using quick edit. Thank you very much!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘CSS’ is closed to new topics and replies.