title in topbar
AnonymousJanuary 23, 2012 at 10:43 pm #22739
You’re thinking about it wrong.
When you enable an action hook via the admin area, you are essentially creating a new widget area in that part of the code. So, you then go to your widget area and drag a new text or php widget to the new area.
So, when you enable the
graphene_top_baraction hook, you are also creating a
graphene_top_barwidget area. You don’t need to add anything to your child theme functions file.
Instead, go to your widget panel, and insert a new text or php widget into the
graphene_top_barwidget area. Next, open that widget and insert your code.
Lastly, you might have to fine-tune the positioning with some custom css.
AnonymousJanuary 23, 2012 at 10:48 pm #22740
Aha! I get it. Watched the ‘advanced’ tutorial and saw you do something with social buttons, so I thought this was kinda like the same… I’ll delete the function add the html-code in the “widget”-section and tweak around witch Firebug… Sounds like fun!
Thanks again Josh!
AnonymousJanuary 23, 2012 at 10:51 pm #22741
Haha… yeah, start simple… then move to the advanced 😉
AnonymousJanuary 23, 2012 at 11:30 pm #22742
Well. That’s a bummer. It’s still grey. So I think I get the PHP part right, but messing up the style.css. Should there be a
#only before functions or also before every class ID (meaning the .tws_title, etc)??
AnonymousJanuary 23, 2012 at 11:36 pm #22743
Try adding the !important attribute… like this:
color: red !important;
letter-spacing: 5 px;
color: white !important;
AnonymousJanuary 23, 2012 at 11:53 pm #22744
Ok. It’s still the same, but zooming in with Firebug, i found out that the color and the font comes from this:
< body class="home blog logged-in admin-bar custom-background three-col-center three-columns">
How can I manipulate this without doing to much damage?
AnonymousJanuary 24, 2012 at 4:11 am #22745
Hmm.. Using the same idea in my LOL site – http://letitsnow.in/
The text Let It Snow In Your Browser!!! is placed in a
graphene_top_barwidget and styled it something like this,
And the widget content is more or less,
<a href="http://www.letitsnow.in">Let It Snow In Your Browser!!!</a>
AnonymousJanuary 24, 2012 at 10:15 am #22746
Ok, found out what was going wrong. I wrote this in HTML
<twoway class="title">and in css I call
title.twowaythat should’ve been
Oh well, got it fixed. A few more things (for now) and it’ll be perfect (till I want to change things, that is)
Anyone now how to change the pages permalinks? If you go to band it displays “band” in the Navbar (perfect) and band in the sec.menu (perfect) but it shows band in the content part as well.. the code I found with Firebug (can’t mention that too many times :D) says this:
<a href="http://twowaysociety.nl/hidden/band/" rel="bookmark" title="Permalink to Band">Band</a>I’d like to change the tekst in to Bio
AnonymousJanuary 24, 2012 at 10:32 am #22747
but it shows band in the content part as well..
Edit page and change it’s title! (You can still have the same URL)
Viewing 10 posts - 1 through 10 (of 14 total)
- You must be logged in to reply to this topic.