Sanis Posted July 17, 2010 Share Posted July 17, 2010 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. Link to comment Share on other sites More sharing options...
Sanis Posted July 19, 2010 Author Share Posted July 19, 2010 Any ideas?I just want to take out userinfo block and style those 2 divs separately. Link to comment Share on other sites More sharing options...
Thierryh Posted August 5, 2010 Share Posted August 5, 2010 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 --> RegardsThierry Link to comment Share on other sites More sharing options...
Sanis Posted August 7, 2010 Author Share Posted August 7, 2010 Thanks, it worked.By moving div tags i also brought footer div from under the page div. Now i have cool looking footer with 100% stretch. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now