Skip to Content
0

How edit css in sap.ui.unified.ShellHeadItem

Mar 17, 2017 at 03:24 PM

68

avatar image
Former Member

hi, i hope can you help me.

I am trying to edit the width of the control sap.ui.unified.ShellHeadItem, I have placed an image.png but the width of the image is reduced to that of the control, I have edited the css in other controls. But in particular case I have not been able to find the style endicated. I attached an image to help you understand better.

menu.png (6.4 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Jun Wu Mar 17, 2017 at 04:24 PM
0

you give it a style......

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Mar 17, 2017 at 09:34 PM
0

I've tried this, but I've only managed to increase the size of the image, but it's not visualized all the way down

.widthHeadItem .sapUiUfdShellHeadItm>span>img {
   width: 134px !important;
} 


menu2.png (1.7 kB)
Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Mar 20, 2017 at 02:30 AM
0

I think you need to increase a width of icon's parent object.

Its class is 'sapUiUfdShellIco', see below picture.


shellheaditem.png (11.6 kB)
Share
10 |10000 characters needed characters left characters exceeded