Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I tried to override default home page using a Panel but it's still pulling default settings. What I'm missing ?
Thanks.
Comments
Comment #1
ravis CreditAttribution: ravis commentedwhat you have set as homepage:
Administration >> Configuration >> System >> Front page
Comment #2
Ayesh CreditAttribution: Ayesh commentedI changed home page to the path of the Panel I created.
To be clear, in the panel, I have added a node in a horizontal pane. I'm expecting it to appear in full width but it appears as the normal front page (nodes in columns like the demo page)
Comment #3
ravis CreditAttribution: ravis commentedAre you working on a live site. If yes, please post url
Comment #4
chris-cmfi CreditAttribution: chris-cmfi commentedI am having this same issue. I created a simple view and set path as "home". Went to Administration » Configuration » System and set the Default front page to /home. Cleared site and browser cache yet no change...
Comment #5
Ayesh CreditAttribution: Ayesh commentedAnd later I realized that it was actually css. The "front" class does this.
If a post somehow got the front class, it gets the dimensions set in css.
I think it would be great if we can have a front.tpl.php file separately for the front page implementation as the demo site's appearance so it can be overriden easily.
Comment #6
chris-cmfi CreditAttribution: chris-cmfi commentedWhat I ended up doing that gave me the results I was looking for was to modify the CSS to make .node-teaser width 100%
Comment #7
ravis CreditAttribution: ravis commentedHomepage of touch theme has some custom CSS style for 3 column layout.
If you wish to use any other type layout, you will need to edit .node-teaser width to 100% as mentioned in #6 by chris-cmfi.