• Hi all,

    I have learned templating a bit and I”m needing some help as I want to create something a bit different, however my question is just a simple tweak we need for the homepage.

    I’m able to create the same looks for all of the page while templating, however what I want to do is something like the below link
    https://www.murphychurch.com/
    Where the landing page will have the modules positioning and on the other page it is just a blog post ( what i mean by that is – the landing page shouldn’t be a static page, however shouldn’t show necessarily show all the post on the homepage by default..) How do I achieve that with the coding for the index.php page as the header.php and the footer page will be the same for all. Or do I need to have a different CSS and xHTML for the single.php or page.php page?

    This can be achieved easily with Joomla with the use of Modules, however I’m trying to port my website to WordPress, I need your help

    Thanks in advance

Viewing 5 replies - 1 through 5 (of 5 total)
  • You could try using is_front_page() to output specific classes & markup on your home page.

    Thread Starter mnowluck

    (@mnowluck)

    Thanks esmi.. by the way.. how do I make the theme always stuck to the bottom no matter what’s the visitor’s resolution is, I know this has something to do with CSS but, when I create a page using xHTML and CSS only, I just use the min-height:700px and it kind of helps.. but in wordpress when I use the same CSS it doesn’t.. Any help would be appreciated

    how do I make the theme always stuck to the bottom no matter what’s the visitor’s resolution is

    I don’t think I understand that question. You can stick elements to the bottom of the browser window using position:fixed but if you do that with the whole theme you’d get a very weird effect. Can you explain what you are trying to do?

    Thread Starter mnowluck

    (@mnowluck)

    Oops.. I mean.. how do I make the footer stick to the bottom always . Right now, when there are no enough contents on the page, the footer just popped up,showing white pages. One example is at https://bungmual.com/wordpress/zepada

    If you press cltr+f11, then the footer just popped up leaving white spaces at the bottom

    If you do stick the footer to the bottom it will crawl up and over content given the right circumstances. I think you are best using min-height. It does work is WP if you apply it to the right element. What you need is to apply a min-height to everything above the footer and thus push the footer down the page. With some of your pages this could be accomplished by applying it to the content division, but on your home page you don’t have that division so you have a consistency problem that is going to make it trickier.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Different template looks for homepage’ is closed to new replies.