how to make branding image clickable link
-
Hi,
I have a Rsuty Grunge theme and I have personalised the image on the top of the page to put my logo
I want to make this image click-able to take visitors to homepage when they click on it. How can I do that?The blog I need help with is: (visible only to logged in users)
-
Unfortunately with WordPress.com you cannot modify the theme files which prevents you from creating a link. With enough heavy CSS customization though you could replace the default site title/description area and have it possibly work.
-
@jarretcade: not heavy at all – you add the right HTML and inline CSS to a text widget, and use absolute positioning to place the widget in front of the logo.
-
sorry the forum converted the html code i wrote above
it is/*< a href=”http://****/” title=”****” id=”navbar”>Home*/
-
That’s a bit inaccurate but it’s working.
It can be done in a variety of ways. My solution would be a linking rectangle in the widget (with a temporary border so I can see the rectangle):
<a id="navbar" href="BLOG URL HERE"><div style="width:658px;height:135px;border:1px solid #f00;"></div></a>With this in the CSS editor:
#page { position: relative; } #navbar { position: absolute; right: 17px; top: 30px; }I’d adjust the values till the rectangle falls exactly where it should then remove the border from the widget code.
Note: to display code correctly here you enclose it in backticks (see below reply field).
-
Thank you very much
I did it exactly as you mentioned and it worked better than before. This is more convenient.
- The topic ‘how to make branding image clickable link’ is closed to new replies.