Jump to content

How to add div wrappers in header ($HOOK_TOP)


Recommended Posts

Is there a way that I can add div wrappers in the header for easier position control? I'm trying to wrap the elements into 3 div blocks. But from the code, these elements are hooked and added through MODULES>POSITIONS. (as illustrated in attached pic)

Is there a template or function somewhere that I can edit ($HOOK_TOP) to create the extra divs?

OR do I need to add div tags at the modules , eg, an open div tag at link block template file and a close div tag at currency block template file? That would be quite a messy way to customize...

Is there a better way to go about this, need some advice, thanks

 

post-445499-0-67927200-1355281675_thumb.png

Share this post


Link to post
Share on other sites

Hi there,

As you already said, I'd go for the modules way. There is no other solution... unless you want to create an override with new hooks, but that's trickier

Share this post


Link to post
Share on other sites

They should definitely make it easier, and transform it into something like wordpress widget areas. That way, we could have more freedom when designing themes (I'm facing the same problem you have with a template I'm currently working on)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More