Jump to content

How to break parent div?


Recommended Posts

In a new template that iam making i can not use all top of pages blocks in one div: header_right.
So i need to take blockuserinfo ('header_user' div) out of 'header_right' div.

How would i do that?
Tnx in advance.

27017_aWK96fdPSvDXZOzABo3a_t

Link to comment
Share on other sites

  • 3 weeks later...

Here is what I did for a similar issue (when I created one of my own module) :

In the TPL bloc file (blockuserinfo.tpl in your case), I removed the final closed DIV tag (


) and move it at the 1st line of the same TPL file. Thanks to that, this block is not part of the header_right div.
I don't know if this is the best solution, but it worked.

Example of the modified blockuserinfo.tpl :

 <!-- ADDED THIS TAG -->
<!-- Block user information module HEADER -->



....

<!--  REMOVE THIS CLOSED TAG -->
<!-- /Block user information module HEADER -->



Regards
Thierry

Link to comment
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...