Skip to Content
avatar image
Former Member

How edit css in sap.ui.unified.ShellHeadItem

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)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Mar 17, 2017 at 04:24 PM

    you give it a style......

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 17, 2017 at 09:34 PM

    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;
    } 

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 20, 2017 at 02:30 AM

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

    Its class is 'sapUiUfdShellIco', see below picture.

    Add comment
    10|10000 characters needed characters exceeded