Sidebars – coding between added widgets
AnonymousSeptember 24, 2012 at 12:02 am #5800
Site in question is http://www.elotravel.com.
On my sidebars, I want to do a combination of widgets and items actually coded in the sidebar.php and sidebar-two.php. I have successfully coded a couple of items at the top of each sidebar, but I’m not sure exactly where to go in the original php files if I want to place an item further down.
Any tips on how to know where to place code in and around added widgets?
Thanks in advance.
edModQuote:items actually coded in the sidebar.php and sidebar-two.php
Why? You will lose such changes when you update the theme. (And eventually, you will have to update the theme.)
You can add pretty much whatever you want to a text widget or a php widget, and then adjust its appearance via CSS to make it look less like a widget.
AnonymousSeptember 24, 2012 at 12:12 am #32695
I want to do it exactly for the reason you stated. To eliminate the ‘widget look’. I’ve been using a text widget. I’d have no idea what to do with CSS to change the appearance.
Haven’t tried a php widget yet.
If I can do what you’re saying, I would certainly prefer that.Mod
I forget if this is exactly what you need, but it will get you started:
That applies to all widgets, not just Graphene action hook widgets.
If you are using the Firebug extension for Firefox (or the Chrome or Opera equivalent), feel free to poke around on my blog. I’ve done a lot of sidebar customisation all via CSS. Feel free to copy or adapt any of my codes.
AnonymousSeptember 24, 2012 at 12:34 am #32697
Studying now! Thanks.
AnonymousSeptember 24, 2012 at 12:56 am #32698
When utilizing the CSS code in a widget, I assume you put the code in the text or widget box itself. Correct?
Viewing 7 posts - 1 through 7 (of 7 total)
- You must be logged in to reply to this topic.