Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #187908

    Hi there,
    i need to edit a bit on our frontpage.
    so i need to know what file is generating the landing page / standard homepage.
    Can you you help me out?

    regards axel

    #187924

    Hey kaMai!

    The home page will default to your blog if you don’t have a page set for it.

    Otherwise the home page will be whatever you set in the theme options. The content for it is controlled on that page either with the advanced layout editor or the visual editor.

    Best regards,
    Devin

    #188128

    Hi Devin, i know..

    But i am not talking about controlling my content.
    I am talking about editing the mark-up.

    in which php-file do i edit the mark-up for the front-page if i have choosen a page as homepage?

    regards axel

    #188223

    Hey!

    The other themes usually use the index.php but on Enfold there is no specific file for the homepage. If you’re not using the Advance Layout Builder for it, it will use the page.php file. Note that all other pages that is not using the Advance Layout Builder will use the same file. Why do you need to edit it? If you’re using the ALB, you can edit the template-builder.php file.

    Best regards,
    Ismael

    #188281

    Hey
    we use the “dark-blue” style but i definitely need to remove the blue bar on top (<div class=”stretch_full container_wrap alternate_color dark_bg_color title_container”>.)
    but only for the homepage.
    Fo all other pages / posts / cats that <div> should still exist

    regards axel

    #188331

    Hey Axel,

    most common things may be configured using a css declaration. So for the homepage you may try this:

    .home .title_container {display:none;}

    If you like to remove the html source, you may stick with the conditional is_home() and remove the output (which I currently don’t know).

    But wait – I think you’re talking about the container holding the title of the page. Well, open up your homepage within the backend and have a look at the Layout section on the right. Just disable the header. :)

    Regards,

    Jörg

    #189216

    I hope Jörg’s explanation helps as I don’t think we were really explaining things for how you were imagining the site was getting rendered.

    There isn’t any single template that is used to render your sites content, each page, post, portfolio item etc is the combined output of the header, footer, sidebar and then various inner content files.

    So trying to modify a single php file for the output of one page is generally never going to work.

    Its better if you explain the end result you are looking for since as Jörg pointed out in this case there is a theme option already built in to handle that.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘what file is generating the homepage?’ is closed to new replies.