I install version 8.x-1.0 (the version options don't have this as option but I have to pick something).

Anyway, I am trying to get all my blocks back to the right place. Going by the screen shot here: https://www.drupal.org/files/images/Danland.jpg. It looks like the user acct menu should be in the top right corner and thus in the Header region but it isn't styling horizontal and right justified. I tried it in the Search region - no go. Finally moved it to the secondary menu at the bottom but that only stacks the two menus on top of each other.

The demo site doesn't show in the top right corner so maybe it doesn't work like that in the D8 version of this site?

Thoughts?

Comments

idcm created an issue. See original summary.

Deepika.chavan’s picture

Hi idcm,

I tried same thing on my site.
Under header region I enabled Site branding and User account menu blocks.
I wanted to display User account menu at the top - right corner as displayed here - https://www.drupal.org/files/images/Danland.jpg.
To get it done,
1. I added following code in /css/local.css file:

#block-useraccountmenu{
    float: right;
    width: auto;
}

#block-useraccountmenu ul li {
	display: inline;
}

NOTE: #block-useraccountmenu is an Id of my User account menu block.

2. In danland.libraries.yml, removed # to uncomment the following code:
i.e. #css/local.css: {} to css/local.css: {}

3. Clear cache here - /admin/config/development/performance

Hope that helps!

Regards,
Deepika Chavan

redseujac’s picture

Thank you, Deepika Chavan.

But how do I find the ID of my own user account menu block?

Please help.

redseujac

Deepika.chavan’s picture

Hi Redseujac,

Right click on menu you want to find ID for, & select inspect element. There you will find Id for tag of user account menu block.
Hope that helps!

Regards,
Deepika Chavan

redseujac’s picture

Thank you very much! It works and #2 also :)

BhumikaVarshney’s picture

Status: Active » Needs review

Hi Deepika.chavan,
Thank you so much!
It works for me.