Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: Seph commentedThx Deepika! Worked great and gave me some insight on other things as well.
Seph
Comment #5
Absinte CreditAttribution: 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 CreditAttribution: 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.