Home Icon Image

General questions pertaining to how certain issues can be resolved
Forum rules
1. No offensive language and no mocking
2. Please do a thorough search before you post something. Trust us, there is a high probability that the question you are asking has been asked previously.
3. No soliciting. You cannot post here soliciting bids for people offer you quotes, or even offer money to people for some work. You will be moderated if you do so. If you are looking for help, please post your request on http://jobs.wordpress.net or http://codepoet.com
4. Please be reasonable. You are getting software and support. For free. Complicated requests from a general purpose theme are not welcome and some volunteers might lose patience with you.
5. Please do your due diligence. If you posted a query and we answered with a link, take the trouble to go through the link contents.
6. Please post with complete information. Requests for help MUST be accompanied with your URL, particularly if you are asking something like "Why am I seeing a blank space?"

Re: Home Icon Image

Postby lordsmiff » 10 May 2012, 02:39

And just so you know i'm not making this my "fix everything because I can't be bothered searching" default, this is what I've tried so far :-)

Code: Select all
$home_link = ('http://ohisp.charlesworth.derbyshire.sch.uk/wp-content/uploads/static/home.png');

Code: Select all
$home_link = suffusion_get_home_link_html('http://ohisp.charlesworth.derbyshire.sch.uk/wp-content/uploads/static/home.png');

Code: Select all
$home_link = 'http://ohisp.charlesworth.derbyshire.sch.uk/wp-content/uploads/static/home.png';

Code: Select all
$home_link = "http://ohisp.charlesworth.derbyshire.sch.uk/wp-content/uploads/static/home.png";


:-)

Cheers,
Smiffy.
lordsmiff
 
Posts: 10
Joined: 08 May 2012, 08:33

Re: Home Icon Image

Postby drake » 10 May 2012, 03:35

I didn't saw the forest because of tree when I said that the child theme can't help you. Like you I thought to functions, filters... But Sayontan opened my eyes - is needed a simple linked image:
Code: Select all
$home = '<a href="http://ohisp.charlesworth.derbyshire.sch.uk"><img src="http://ohisp.charlesworth.derbyshire.sch.uk/wp-content/uploads/static/home.png" /></a>'
drake
 
Posts: 3798
Joined: 26 Jul 2011, 07:56
Location: Constanta, Romania

Re: Home Icon Image

Postby lordsmiff » 10 May 2012, 03:42

Hi Drake.

Sorry to be the bearer of bad news but in the navigation-menu.php file, I added your code but I'm afraid it didn't work.. :-(
lordsmiff
 
Posts: 10
Joined: 08 May 2012, 08:33

Re: Home Icon Image

Postby drake » 10 May 2012, 03:54

Yep... I forget a little ";" in the previous code that definitelly break things... Also, now I extended a little the code to take li.menu-item class:
Code: Select all
$home = '<li class="menu-item"><a href="http://ohisp.charlesworth.derbyshire.sch.uk"><img src="http://ohisp.charlesworth.derbyshire.sch.uk/wp-content/uploads/static/home.png" /></a></li>' ;
drake
 
Posts: 3798
Joined: 26 Jul 2011, 07:56
Location: Constanta, Romania

Re: Home Icon Image

Postby Mateos » 31 Jul 2012, 04:25

Hello guys, I'm also trying to change the home icon and I used the javascript method provided by sayontan. However the size of the new icon is reduced down to the size of the original icon. I would like to make it bigger.
Please, could you let me know how to achieve this.

Thanks :)
Mateos
 
Posts: 1
Joined: 31 Jul 2012, 04:14

Previous

Return to Support Requests

Who is online

Users browsing this forum: Google [Bot], marioo and 10 guests

cron