I have designed a site in drupal with Acquia Slate theme. In this theme there are different page view style for the frontpage and the remaining pages. I know it is possible to make all the pages have the same appearance as the front page but just can't figure out how? Could anyone of you help me solve my problem? I would be eternally grateful.

thanks,
xoxox

CommentFileSizeAuthor
#3 Picture 1.png33.5 KBxoxox

Comments

jwolf’s picture

Status: Active » Fixed

1. Delete page.tpl.php
2. Rename page-front.tpl.php to page.tpl.php
3. Edit block.tpl.php by removing $is_front AND from the if statement of the template file so that it is just <?php if ($rounded_block): ?> - NOTE: this if statement is in two places w/in block.tpl.php - one near the top and one near the bottom.
4. Remove (or comment out) lines 583 - 586 of style.css:

body.layout-first-main #content {
  border-left: 1px solid #444444;
  padding: 30px 0 30px 60px;
}

5. Remove (or comment out) lines 895 - 898 of style.css:

/* block not-front */
body.not-front .block-wrapper {
  margin-bottom: 40px;
}

6. Clear cached data under Admin > Performance
7. Commence eternal gratitude

jwolf’s picture

xoxox’s picture

StatusFileSize
new33.5 KB

hey jwolf thanks a lot but still there's a problem. As you can see in the picture attached, there a bit different styling in the front page and other pages right one. HOw can i fix this issue?

xoxox’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

elijah lynn’s picture

Status: Closed (fixed) » Active

If one is using a subtheme and does not want to delete the page.tpl.php file because it is SVN how would they go about making it so the page-front.tpl.php is not being pulled in?

marktheshark’s picture

Did anyone solve the difference in styling between front page and other pages?

kentjames1980’s picture

Status: Active » Closed (fixed)

You can change the difference in the block spacings via this:

http://drupal.org/node/532778

Most of the other styles can be altered by grabbing out sections of style.css and altering them and saving them into local.css?

Considered closed??

marktheshark’s picture

Adopted the style from the front page blocks and used them for non-front page blocks.

Actually it would be useful to subtheme Acquia slate to a single page template theme, and avoid double styling in the first place.

Can be considered closed.

Thank you

marktheshark’s picture

oops...
[delete-me]

cazam’s picture

I tried this, twice,was so hopefully, seemed so logical - but I got nothing. Formatting all stayed just as it was before.
Any other ideas or ways around this???
Thanks so much