Custom CSS doesn't have any effect

Home Forums All Other Themes Custom CSS doesn't have any effect

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #24398
    TimTim
    Member
    • Topics: 1
    • Replies: 4
    • Total: 5
    Member since: December 15, 2015

    I’m using your skt-full-width-pro theme on CambridgeEnglishResults.com but my custom CSS doesn’t have any effect.

    Just as a test, I’ve added these lines under Appearance —> Theme Options —> Layout Settings —> Custom CSS:

    .widget {
    background: #00ff00;
    background-color: lightblue;
    }

    But this has no effect on the display of widgets on the site.

    Chrome’s dev tools show this:
    https://drive.google.com/file/d/0B3xNAcWy4VXqNlc4R1hhTGg3Zlk/view?usp=sharing

    …i.e. that my CSS appears in (index):71

    .widget {
    background: #00ff00;
    background-color: lightblue;
    }

    but is overridden by this in style.css:

    media=”all”
    .header .widget {
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
    }

    Surely the custom CSS should override the default CSS in style.css shouldn’t it?

    What’s the solution please?

    #24402
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 30977
    • Total: 30977
    Member since: August 16, 2013

    Hi Tim,

    Try to use !important property. So it would be as below:

    .widget {
    background: #00ff00 !important;
    background-color: lightblue;
    }

    Let us know if you still having the issue.

    Regards,
    Dave

    #24421
    TimTim
    Member
    • Topics: 1
    • Replies: 4
    • Total: 5
    Member since: December 15, 2015

    Makes no difference I’m afraid. The visual appearance of the widget is the same, and the CSS examiner tool shows this:

    .widget {
    background: #00ff00 !important;
    background-color: lightblue;
    }

    #24454
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 30977
    • Total: 30977
    Member since: August 16, 2013

    Hi Tim,

    Kindly send us your URL of the site and WordPress admin details via sktthemes.net/contact

    Please mention this forum URL while replying so that we understand what needs to be done.

    Regards,
    Dave

    #24468
    TimTim
    Member
    • Topics: 1
    • Replies: 4
    • Total: 5
    Member since: December 15, 2015

    OK thanks, I’ve just sent you the relevant info via your contact form. I look forward to hearing from you.

    Tim

    #24574
    danieldaniel
    Member
    • Topics: 4
    • Replies: 18
    • Total: 22
    Member since: February 21, 2016

    This seems to be a recurring problem in the themes. I’m having the same problem in the Kraft theme and as a result I’m created 4-6 support threads which all can be fixed if the css customization worked.

    #24619
    TimTim
    Member
    • Topics: 1
    • Replies: 4
    • Total: 5
    Member since: December 15, 2015

    I’ve just sent you another message via your contact form, along with an admin username and password. I look forward to hearing back from you.

    #24664
    danieldaniel
    Member
    • Topics: 4
    • Replies: 18
    • Total: 22
    Member since: February 21, 2016

    The contact form seems not to be working ow either… I’ve sent an email to [email protected]
    subject: https://www.sktthemes.org/forums/topic/custom-css-doesnt-have-any-effect/#post-24619
    with my admin and user info. I’ve sent twice before already as there are several issues that need fixed.

    #24786
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 30977
    • Total: 30977
    Member since: August 16, 2013

    @Tim and @Daniel:

    We do not work during the weekends. Please be patient with us as we have got your emails and would respond to it by tomorrow at max.

    Regards,
    Dave

    #24794
    TimTim
    Member
    • Topics: 1
    • Replies: 4
    • Total: 5
    Member since: December 15, 2015

    That’s fine. I look forward to hearing from you then.

    Best regards,

    Tim

    #24889
    Sonl SinhaSonl Sinha
    Keymaster
    • Topics: 10
    • Replies: 6987
    • Total: 6997
    Member since: June 12, 2013

    Hi Tim,

    The task was done. I however haven’t received Daniel’s site info. Kindly send us via sktthemes.net/contact

    Regards,
    Shri

    #26575
    danieldaniel
    Member
    • Topics: 4
    • Replies: 18
    • Total: 22
    Member since: February 21, 2016

    Ive sent my information in a couple of times now… please check

    #26749
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 30977
    • Total: 30977
    Member since: August 16, 2013

    Kindly send us via sktthemes.net/contact

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.