Page 1 of 1
Word Press 'Leaf' Theme issue - logo size
Posted: Wed Aug 20, 2014 3:52 am
by simonmlewis
Hi
We am looking after a Word Press site for someone, but I am unable to upload a full width image of around 940px as the theme only allows a small logo on the top left.
Does anyone know how to override that?
I've read about changing the theme and new stylesheet, but that scares me a little, as it's not my blog to "break".
Re: Word Press 'Leaf' Theme issue - logo size
Posted: Wed Aug 20, 2014 7:04 am
by Celauran
wp-content/themes/leaf/header.php
Code: Select all
<div class="header-group six columns">
That's the rule that forces the header image down. Remove the class 'six' and the header will fill the width of the page.
Re: Word Press 'Leaf' Theme issue - logo size
Posted: Wed Aug 20, 2014 7:15 am
by simonmlewis
I've taken the six out, but on uploading, when i refresh, and clear cache too, I still see this in the source:
[text]<div class="row">
<div class="header-group six columns">[/text]
Yet when I download the file again, "six" is not there.
Re: Word Press 'Leaf' Theme issue - logo size
Posted: Wed Aug 20, 2014 7:25 am
by Celauran
Sounds like a caching issue. Any caching plugins running on the site?
Re: Word Press 'Leaf' Theme issue - logo size
Posted: Wed Aug 20, 2014 7:29 am
by simonmlewis
I've really no idea. There are a lot of plugins. too many really.
Any that you know of that I can look for?
Re: Word Press 'Leaf' Theme issue - logo size
Posted: Wed Aug 20, 2014 7:31 am
by Celauran
W3 Total Cache and WP Super Cache are the most common that I'm aware of. Plugins page and CTRL+F as a fallback.
Re: Word Press 'Leaf' Theme issue - logo size
Posted: Wed Aug 20, 2014 7:38 am
by simonmlewis
Yes, they have WP Super Cache. So if I deactivate that, it won't cause problems with it?
How does that work though - surely your own browser is capable of caching?
Re: Word Press 'Leaf' Theme issue - logo size
Posted: Wed Aug 20, 2014 8:02 am
by simonmlewis
Ok, now I get it.
The owner of the site got an automated email to say "something had been changed" via WP Super Cache, and that it has restarted it. I think that means it's restarted wtih my new versio of header.php, and hey presto, it works!
Thanks
Re: Word Press 'Leaf' Theme issue - logo size
Posted: Wed Aug 20, 2014 8:17 am
by Celauran
simonmlewis wrote:Yes, they have WP Super Cache. So if I deactivate that, it won't cause problems with it?
How does that work though - surely your own browser is capable of caching?
There's a setting within WP Super Cache that allows you to clear cache. You seem to already have that sorted, though. Yes, your browser is capable of caching, but that only benefits you. From a server point of view, that's of only marginal benefit. If your site has a lot of traffic, server side caching allows you to execute all the queries once -- and with WP, especially with a ton of plugins, that's probably a TON of queries -- render the output, and save it as a static file. Subsequent requests will be served this static file, bypassing all those trips to the DB.
Re: Word Press 'Leaf' Theme issue - logo size
Posted: Wed Aug 20, 2014 12:24 pm
by simonmlewis
Why then does it work if I am logged in and shows the full width banner, but now if I log out, the old version shows. That really doesn't make sense!!
Re: Word Press 'Leaf' Theme issue - logo size
Posted: Wed Aug 20, 2014 12:33 pm
by Celauran
Could also be a setting in WP Super Cache. I believe you can have it show cached version to anonymous users and latest version to logged in users in order to preview changes you're making to existing content.
Re: Word Press 'Leaf' Theme issue - logo size
Posted: Wed Aug 20, 2014 4:37 pm
by simonmlewis
Yes, it appears that plugin has some rather annoying features, if you don' tknow how to adjust them.
For future reference - here's what I had to do:
I had to untick all the boxes, apart from the top one in the cache are.
Then Save.
I then deleted the header page, and uploaded mine. Then reuploaded the new image, and set the crop to full image and saved.
That finally got it to work on logged in and not logged in. A real difficult one though to get right.
Re: Word Press 'Leaf' Theme issue - logo size
Posted: Thu Aug 21, 2014 8:07 am
by simonmlewis
The owner of the blog says when he posts something, it automatically gets posted on Facebook and Twitter. Not seen it happen, but he says it does. Problem is, this blog has a 'sub' area to it for another part of the organisation, and that has it's own FB and Twit.
Is there a specific plugin that does this that I can look at to see if there is a way to opt which social Media they go to?
Re: Word Press 'Leaf' Theme issue - logo size
Posted: Thu Aug 21, 2014 8:11 am
by Celauran
I'd start by checking through the plugins they have installed. Could also be something like IFTTT integration. Too many possibilities for me to even hazard a guess.