Frontpage same as other pagers

GK User
Tue Jun 02, 2015 11:14 am
I would likt to have the frontage same layout as the other pages.

And I also would like to have background image on the pages, css for that?
User avatar
Junior Boarder

GK User
Tue Jun 02, 2015 4:53 pm
Could you please post an url to your site?
User avatar
Moderator

GK User
Tue Jun 02, 2015 8:16 pm
Oops sorry! It is www.hastfocus.se
How do i get the frontpage look like the order pages? And the header/footer/bottom in another color?
User avatar
Junior Boarder

GK User
Fri Jun 05, 2015 3:14 pm
1. Yu need to remove module published in header_bg position.
2. You need to edit this file:
Code: Select all
/usr/local/var/www/htdocs/gavick.com/j3/university/templates/gk_university/layouts/default.php

and modify line:
Code: Select all
<header id="gkHeader"<?php if(!$this->layout->isFrontpage() && !in_array('frontpage', explode(' ', $page_suffix_output))): ?> class="gkPage"<?php endif; ?>>      

changing it to:
Code: Select all
<header id="gkHeader" class="gkPage">      
User avatar
Moderator

GK User
Mon Jun 08, 2015 8:34 am
Thanks! But on the other pages I have the grey background and some margin from the top on the page. Can I get the same look on the frontage?
Frontpage http://www.hastfocus.se
Other pagers http://www.hastfocus.se/index.php/las-digitalt
User avatar
Junior Boarder

GK User
Wed Jun 10, 2015 6:25 am
In same file please find this line:
Code: Select all
<div id="gkPageContent"<?php if(!$this->layout->isFrontpage() && !in_array('frontpage', explode(' ', $page_suffix_output))): ?> class="gkPage"<?php endif; ?>>

and change it to:
Code: Select all
<div id="gkPageContent" class="gkPage">
User avatar
Moderator

GK User
Wed Jun 10, 2015 5:34 pm
Thanks!
User avatar
Junior Boarder

GK User
Sat Jun 13, 2015 4:38 pm
Is there anything else I can help you with regarding this topic?
User avatar
Moderator


cron