Adding a “home” button
I want to add a “news” button that will take me back to the main page,
It should be easy, but from some reason it isn’t…
I can only add pages with content, not buttons that take me to pages…
How can it be done?
The blog I need help with is drornotes.wordpress.com.
Please provide a link to your blog so we can take a look, starting with http://
But where do I find this text-widget menu option?
Appearance > Widgets > Text > Add > Edit > paste content > Save Changes.
The code model for the link you want is this:
Note (so that you want be unnecessarily alarmed): when you add a widget, the default sidebar items of the theme are cancelled. If you want other things in the sidebar apart from the home link you’ll create, you just keep on adding the relevant widgets (e.g. Categories).
hmm but that will put the widgets on the right side, instead of top side, right?
Yes, it will. You do know that clicking on the title of your blog brings you (or your readers) back to your home page? Your home page is http://drornotes.wordpress.com
In many themes there is a “home” or “posts” tab built into the top of the blog.
In some themes you can use links in the tabs at the top: links to external sites or links pages on the blog itself (like a categories page). Check out panos’ post about page tabs as external links:
I believe you should have a CSS upgrade and some degree of coding chop to be able to do that.
Notice that the tab as external link on Ocean Mist looks very odd.
Sorry, I don’t know what you mean? It’s just simple html links.
Sorry, I was responding to drols’s latest reply ‘…instead of top side, right?’, not yours — mea culpa.
Oh, right. Or he could just switch to a theme with top navigation already.
@babaliciou5: You can create a header tab with plain html. You use a text widget and the “position-absolute” command. If you or drorl are interested, I can make one and paste the exact code here.
Thanks, just switched the theme eventually.
I’d like it too. I tried to make it work, but no go.
The general code for placing an item in a fixed position is this:
The rest depends on the item and the theme. Here’s a specimen I worked out for the OP’s Ocean Mist:
<div style="font-family:tahoma;letter-spacing:.07em;background-color:#526A74;top:150px;left:326px;position:absolute;padding:6px;"><a href="BLOG_URL_HERE"><span style="color:#F3F3F3;"><strong>Home</strong></span></a></div>
(So far I cannot figure out how to fix the baseline instead of the topline of the text, so I cheated a little: fixed the tab in the upper corner of the header.)
Be careful when using the <div> method. Different browsers count the top and left offsets differently. If you look at the widget with Safari/Firefox/Opera (all on Mac OS X), you see the home <div> in different places in the header. I was hoping to make Ocean Mist work, but I may need to switch to a different theme.
Just add a link to your menu… I can use other words to say…
The topic ‘Adding a “home” button’ is closed to new replies.