Needs review
Project:
Corolla
Version:
7.x-1.9
Component:
Design
Priority:
Major
Category:
Support request
Assigned:
Reporter:
Created:
26 Mar 2011 at 11:41 UTC
Updated:
12 Apr 2011 at 05:14 UTC
Jump to comment: Most recent file
hi i want to move login block to green area like this picture. can you hlp me?
thanks..
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | Capture d’écran 2011-04-11 à 18.21.19.png | 28.93 KB | Absinte |
| #1 | local_site.jpeg | 83.78 KB | Deepika.chavan |
| Untitled-1.jpg | 650.58 KB | yzzmzz |
Comments
Comment #1
Deepika.chavan commentedHi,
I tried the same thing on my local site please view the attachment.
1. Added following line of code in corolla.info file :
2. Added following code in page.tpl.php after
</div> <!-- /#branding-wrapper --> <?php endif; ?>this line and before</div> <!-- /#header -->this line.Code to be added in page.tpl.php is:
3.Css for above regions:
3.a. Added following line of code in corolla.info
3.b. Created local.css file and added following css in that file:
4. Enabled 'User login' block in 'Preface right' region.( here- admin/structure/block).
5.a. Added a block in the same region after user login block. (Title field kept blank and in description field:user login form links)Added following code in the block body:
5 b. Php code is selected in "Text format"(after block body).
5 c. In Role setting, checked "anonymous user" checkbox.
6 Cleared cached data (here- admin/config/development/performance)
I hope the steps are clear and it helps !!
Rgrds
Deepika Chavan.
Comment #2
Seph commentedHi Deepika,
I just saw your post and would like to do something similar, but different. I am relatively new to all this so any assistance would be appreciated. I am trying to move the logintoboggan logged in block to the bottom right of the #header_menu_wrapper next to the header menu block. I can get it to float right... either above or below the header menu block, but not next it.
Do I need to do something similar to what you just posted?
Thanks,
Seph
Comment #3
Deepika.chavan commentedHi Seph,
Please place your 'LoginToboggan logged in block' above 'Main menu' block in 'Header menu' region (here- /admin/structure/block).
To create custom css file, add following line of code in corolla.info file.
Add following css in local.css file.
Please clear cached data. (here- admin/config/development/performance).
HTH !!
Rgrds,
Deepika Chavan
Comment #4
Seph commentedThx Deepika! Worked great and gave me some insight on other things as well.
Seph
Comment #5
Absinte commentedHi Deepika and Seph !
First of all thx for the code, it made my day !
But I have a few questions, as you can see in the attachment below :
- The connection button is not right
- I have a big space between the logo and the new form...
(- and I'm French... Sorry for my English)
Do you have any idea of what I should do to fix that ?
Thanks again !
Absinte
Comment #6
Deepika.chavan commentedHi Absinte,
Try adding following css in local.css file :
If it is still breaking then reduce the width of '#preface-right' region or remove the left padding of '#branding-wrapper'
i.e. Change
padding:45px 0 48px 25px;topadding:45px 0 48px 0;Please clear cached data here- admin/config/development/performance .
Hope this helps!!
Rgrds,
Deepika Chavan.