logo image not functional

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
Mon Mar 25, 2013 2:43 am
Reply with quote
Report this post
Having issues with the logo changing from the dark background to the light as the page scrolls

http://www.pennyfarthingsaustralia.com.au/index.php

The css below isn't being recognised and an image logo.png is being referenced
Code: Select all
[i]#gkLogo.cssLogo,
#gkMenuWrap #gkLogo.cssLogo {
   background-image: url('../images/style1/logo_white_bg.png');
}
.imageBg #gkLogo.cssLogo {
   background-image: url('../images/style1/logo_normal.png');
}[/i]

Can't find why or where this is being overwritten from.

Any thoughts.
Oh root domain is a placeholder so only the above link functions
User avatar
Expert Boarder

GK User
Mon Mar 25, 2013 7:33 am
Reply with quote
Report this post
Hi, maybe because logo isn't a css background but insert like a <img>

Code: Select all
<a id="gkLogo" href="http://www.pennyfarthingsaustralia.com.au/ ">
        <img alt="Penny Farthings Australia" src="http://www.pennyfarthingsaustralia.com.au/templates/gk_simplicity/images/logo.png">
     </a>


So you have to change a little code in this file: gk_simplicity\layouts\default.php , after that use css.
User avatar
Platinum Boarder

GK User
Mon Mar 25, 2013 8:19 am
Reply with quote
Report this post
What I did

Changed the image contents and altered the css for the image size to reflect the logo change
I altered a setting in the template admin, not image related and it broke.

I cannot find where the reference to the logo.png is being generated from or why the logo_white_bg.png and logo_normal.png images in the css are disfunctional.

So where to find that to fix is what I want to resolve.

Thanks
User avatar
Expert Boarder

GK User
Mon Mar 25, 2013 9:46 pm
Reply with quote
Report this post
As I said before: gk_simplicity\layouts\default.php

Code: Select all
Line 55 :        <?php $this->layout->loadBlock('logo'); ?>

I suggest delete it, and put your own code to show logo image file via css or standard method.

Or edit this file: gk_simplicity\layouts\blocks\logo.php

p.s.
you need take in your mind that code customization is not regular Template support.
User avatar
Platinum Boarder

GK User
Mon Mar 25, 2013 11:01 pm
Reply with quote
Report this post
I understand what you are saying Pawel but you need to hear what I'm saying as well.

The demo of Simplicity has a logo change, by default, that occurs as you scroll down the page.
Some how this has been overridden and I'm trying to find out how.

I don't see why I need to alter the code in other files to achieve what was there to begin with.
Makes no sense especially when templates are upgraded.

I'll trash the template and reinstall and see what transpires.
User avatar
Expert Boarder

GK User
Mon Mar 25, 2013 11:07 pm
Reply with quote
Report this post
I'll trash the template and reinstall and see what transpires.


You have to remember only about one (1) file, I don't suppose that we'll upgrade this file in next update, almost all changes are in templates css files. ;) So you have to add small yellow note to remember.
User avatar
Platinum Boarder

GK User
Mon Mar 25, 2013 11:17 pm
Reply with quote
Report this post
Thanks Pawel

forgot to mention ... I'm not seeking template customisation here. I'm trying to work out how the template functions as it's not behaving as it does by default.

I'll report back
User avatar
Expert Boarder


cron