Different logo for subpages

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Thu Aug 14, 2014 11:55 pm
Reply with quote
Report this post
Hi Guys,

I am wondering if you can help me to change logo for sub-pages:
http://theppd.org/book-appointment
We want to keep bigger logo for main page and smaller for sub pages.

I am also wondering if on our mobile version for sub pages we can keep top line from main page with phone number and live chat.

Thanks for your help
User avatar
Junior Boarder

GK User
Sat Aug 16, 2014 9:13 am
Reply with quote
Report this post
Probably the best solution in this case is to use Suffix for pages feature. You can add suffix for your homepage and then via CSS specify bigger logo on other pages where suffix is not applied you will see regular small one. Please look here for more details how this suffix feature may be use : How to Disable Content on selected Joomla Pages ?
User avatar
Platinum Boarder

GK User
Sun Aug 17, 2014 7:46 pm
Reply with quote
Report this post
It seems to be quite complicated.
Is there any easier way?
User avatar
Junior Boarder

GK User
Mon Aug 18, 2014 3:57 pm
Reply with quote
Report this post
To be honest - no, in template which as a template renders the same elements on every single view it is not so easy to add this kind of modifications.
User avatar
Platinum Boarder

GK User
Mon Aug 18, 2014 11:07 pm
Reply with quote
Report this post
I have serious difficulty in setting up this feature.
Can you tell me where can I increase hight of the header in subpages:
http://theppd.org/book-appointment

I have tried to edit this line:
/* Header */
#gkHeader { background: #dfdfdf; }

but it didn't work at all.

Can you help me?
User avatar
Junior Boarder

GK User
Tue Aug 19, 2014 9:42 am
Reply with quote
Report this post
There is no way to modify some part of template only on subpages without extra suffix for this page. Template have one CSS styles o they will affect on all pages, that's how the 'template' is created - it use the same resources on all generated views.
User avatar
Platinum Boarder

GK User
Tue Aug 19, 2014 10:05 pm
Reply with quote
Report this post
Can I hire someone from the GavickPro Team to fix it for me?
User avatar
Junior Boarder

GK User
Thu Aug 21, 2014 2:43 pm
Reply with quote
Report this post
Sorry but due to amount of work I'm unable to make custom works. Please ask @teitbite our member maybe he can do this small custom work.
User avatar
Platinum Boarder

GK User
Fri Aug 22, 2014 7:59 am
Reply with quote
Report this post
Ok, I understand.
In this case Can I ask you to provide step by step information how to change size of the logo for all sub pages.
Alternatively how to change logo for main page and keep the same for all sub pages.
This is very important feature for our organization to implement this template.
User avatar
Junior Boarder

GK User
Mon Aug 25, 2014 10:42 am
Reply with quote
Report this post
You need to add suffix for homepage exactly like here » How to Disable Content on selected Joomla Pages ? - GavickPro Documentation

and then add the code to override.css file :

.yourSuffixName #gkLogo { width: [value]px !important; height: [value]px !important}
User avatar
Platinum Boarder

GK User
Tue Aug 26, 2014 11:47 pm
Reply with quote
Report this post
Hi I have tried following steps:

1) I have added this code to suffix for pages:
640=Logo250

2) Then in css override I have added:
.Logo250 #gkLogo { width: 200px !important; height: 100px !important },

It didn't work to change logo size on main page.

I have tried this:
.Logo250 #gkLogo.cssLogo {
background: transparent url('../images/logo2.png') no-repeat 0 0;
margin-top: 15px;
}
to change logo, but it didn't work.

3) I have also tried to change margin of the logo on subpages:
http://theppd.org/book-appointment
but it didn't work.

Can you please help me with this?

Regards,
Krystian
User avatar
Junior Boarder

GK User
Wed Aug 27, 2014 11:53 am
Reply with quote
Report this post
640 is the ID of home menu item? It don't looks like ID of this page http://theppd.org because on this page there is no your suffix but only imageBg from default template settings. You can change logo size on frontpage by adding:

.imageBg #gkLogo { width: [value]px; height: [value]px }
User avatar
Platinum Boarder


cron