Site logo

Archived topic

Rotating banner in header borked

3 replies · Started by G.K. Masterson on May 8, 2015

Viewing posts 1–4 of 4

Test site URL: http://www.gkmasterson.com/themeworking/

I have a rotating banner plugin (GoldPress's) that I want to use in the header. I've tried doing it as a widget and plugging the shortcode in directly to the template. However, the best I can get is the banner to show up only 550px wide (using the widget-in-header method) ignoring any other specifications I make in the plugin set-up or the CSS for GP-child or GP (I know, not supposed to do that but after seven hours hacking at it...)

Am I doing something completely stupid? If so, what do I need to do to fix it? I'm not a complete novice when it comes to WP theme hacking so I have checked the functions.php, the styles.css, the header.php, and rounded up the rest of the usual suspects trying to figure out why that the logo shows up correctly if done using GeneratePress's customizer but gets borked if I try to use the rotating banner plugin in the *exact same space* (as demo'd).

Thanks!

-- G.K.

The header widget area is set to be a max-width of 50% of the header.

Have you tried adding it inside GP Hooks? You could add it into the "Before Header Content" hook and it should work great.

Let me know :)

...I love you. Strictly platonically/professionally.

I had tried adding it into some of the Hooks last night but didn't think to try the Before header content.

Thank you so much!

-- G.K.

You're welcome! :)

This archived topic is closed to new replies.