Skip to Content
avatar image
Former Member

Update the different SAP library css for two tab strips

Hi,

I got two tab strips in the app and the formatting is different for both of them.

I have to update the sap library css files to get the desired format.

Issue here is when I update the sap library css file it reflects for both of the tab strips.

Is there any way where I can change the css of one specific tab strip based on id or name of the tab strip.

Thanks

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Mar 02, 2017 at 05:18 AM

    Hi Kumar,

    It is completely possible. Just find your tab strip id by inspecting the element in developer tool and change your CSS according to that.

    Thanks,

    Nithyanandam

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi kumar,

      For example you can use something like this

      #TABSTRIP_1_tf1 .sapUiTabStrip{

      font-size:14px;

      }

      This will only affect the first tabstrip. This is just an example, figure out the proper ID and classes by inspecting. In case you need more help please let me know.

      Thanks,

      Nithyananadam

  • Mar 01, 2017 at 01:28 PM
    Add comment
    10|10000 characters needed characters exceeded