Return to Support

Positioning question using Action Hook & Custom CSS

Home Forums Graphene WordPress theme Support Positioning question using Action Hook & Custom CSS

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #8487
    BigBlueMan
    Member

    I’m using an action hook and a text box to place Adsense code in the header. That works, but the adsense is positioned at 0,0. I want to move it to the right side, basically centered. (working site at http://www.366deals.com. Just started today)

    I basically understand how the Custom CSS commands work, but the problem I always run in to is applying it to a specific widget.

    In other words, if I enter commands in Custom CSS to move the widget around, how do you identify that SPECIFIC text box widget in the header?

    I’ve read several scenarios where people were having trouble situating widgets and don’t remember this specific question coming up.

    I would appreciate any direction pointing you can give me.

    ed

    #41261

    WordPress assigns each text widget a unique ID. You can target it in CSS using that unique ID. Somewhere on my blog is a tutorial for that, I think.

    #41262
    BigBlueMan
    Member

    Found it on your blog. Reading now. Thanks!

    #41263
    BigBlueMan
    Member

    Kenneth, thanks for the info and the tutorial. Worked like a charm.

    For anyone searching in the future, here is the link to Kenneth’s tutorial. http://blog.kjodle.net/2012/04/14/target-graphene-action-hook-widgets-by-their-unique-id/

    Also, I have switched my primary browser to Maxthon, which has a built in developer tool screen. You just hit F12, and you can get the same info you would normally get on Firefox using Firefly!

    Ed

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.