[CLOSED] Changes in overriding css styles 2.x to 4.x

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [CLOSED] Changes in overriding css styles 2.x to 4.x

    Since upgrading from 2.x to 4.x many of our css style overrides are not really working. Spacing is off, fonts are not the same, padding is gone. This is an example override that looked fine in 2.x and in 4.x looks completely different.

            a.MainMenuBtn span.x-btn-inner,
            .x-btn-inner-default-toolbar-small {
                color: #15428b;
                font-family: "Lucida Sans Unicode", "Bitstream Vera Sans", "Trebuchet Unicode MS", "Lucida Grande", Verdana, Helvetica, sans-serif;
                font-size: 1.1em;
                font-weight: bold;
                margin: 0;
                height: 25px;
                padding-left: 16px;
            }
    Click image for larger version. 

Name:	Capture.JPG 
Views:	34 
Size:	50.2 KB 
ID:	24826

    The padding is gone and when I inspect the rendered html, it looks like it is applied but something else is taking precedence and overriding or being applied? I can't really tell. In 2.x if you look at the attached image (from inspect element) the second ".x-btn-inner-default-toolbar-small" is not there. That seems to be what it's using at least the font part.

    Can someone point me to what changed in this regard and what is the proper way to override elements in 4.x as opposed to 2.x

    Thanks.
    Last edited by fabricio.murta; Jan 27, 2017 at 6:04 PM.

Similar Threads

  1. Prevent application CSS from overriding Ext.NET CSS
    By raihaniqbal in forum 2.x Help
    Replies: 2
    Last Post: Nov 12, 2014, 9:44 AM
  2. [CLOSED] Overriding the tab close icon click
    By RCM in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jun 26, 2012, 3:25 PM
  3. Replies: 3
    Last Post: Aug 06, 2009, 2:06 PM
  4. [CLOSED] Overriding Button Templates
    By UGRev in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Dec 12, 2008, 12:36 PM
  5. [CLOSED] Overriding a ClientConfig default value
    By jchau in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Nov 12, 2008, 10:21 AM

Posting Permissions