How to make a widget placed with a "hook" look the same as a "sidebar" widget?

Discussion in '[bd] Widget Framework' started by cdub, Nov 1, 2015.

  1. cdub

    cdub New Member

    When I place the Showcase "Recent User Reviews" widget in the sidebar it looks like this:

    Screenshot 2015-11-01 at 6.58.17 AM.png

    But when I place it in the main content using a "hook" it looks like this:

    Screenshot 2015-11-01 at 6.58.07 AM.png

    How can I make the "hook" one have the nice header of the sidebar?
     

    Attached Files:

  2. cdub

    cdub New Member

    ie. - How can I make the header on the hook like nice like the sidebar?
     
  3. xfrocks

    xfrocks XenForo rocks!
    Staff Member

    Depending on your style, you may restyle the header on the hook position. I suggest you to use the developer tool on your browser to inspect the sidebar header and copy its CSS rule to the hook header.
     
  4. cdub

    cdub New Member

    But should it do this automatically by default? Or am I missing a reason why it is set up this way?

    I think I remember doing this before now that you mention it. Hopefully I have the info saved somewhere... if not I'll do what you describe.
     
  5. xfrocks

    xfrocks XenForo rocks!
    Staff Member

    It does not copy the style because in most cases, the sidebar header style is not suitable for hook position :)
     
  6. cdub

    cdub New Member

    Okay gotcha.
     
  7. cdub

    cdub New Member

    Okay I found the template I need to modify but for the life of me I can't get the darn text to vertically align... do you know what I'm doing wrong?
     
  8. xfrocks

    xfrocks XenForo rocks!
    Staff Member

    Can you send me link to your site? I will send you the CSS rules.
     
Loading...