Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #871907

    Nicholas
    Participant

    Hello,

    I’m trying to set text-decoration: none !important; on the sidebar here to no avail.

    How can I target it?

    Thanks

    #872331

    Prasant Rai
    Moderator

    Hello Nicholas,

    Thanks for writing in!

    You can add this under Custom > CSS in the Customizer:

    .x-sidebar .widget a, .x-sidebar .widget ul li a {
        text-decoration: none !important;
    }

    Thanks.

    #872973

    Nicholas
    Participant

    Thanks for the reply– unfortunately no luck:

    #872975

    Nicholas
    Participant
    This reply has been marked as private.
    #873748

    Christopher
    Moderator

    Hi there,

    Upon checking your CSS code, I noticed there are several missing semicolons.

    Please find following code and and fix them:

    
    aside.x-sidebar.right {
        padding: 2%;
    background: rgba(255,255,255,1);
    background: -moz-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(250,250,250,1) 2%, rgba(246,246,246,0.98) 47%, rgba(237,237,237,0.96) 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(255,255,255,1)), color-stop(2%, rgba(250,250,250,1)), color-stop(47%, rgba(246,246,246,0.98)), color-stop(100%, rgba(237,237,237,0.96)));
    background: -webkit-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(250,250,250,1) 2%, rgba(246,246,246,0.98) 47%, rgba(237,237,237,0.96) 100%);
    background: -o-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(250,250,250,1) 2%, rgba(246,246,246,0.98) 47%, rgba(237,237,237,0.96) 100%);
    background: -ms-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(250,250,250,1) 2%, rgba(246,246,246,0.98) 47%, rgba(237,237,237,0.96) 100%);
    background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(250,250,250,1) 2%, rgba(246,246,246,0.98) 47%, rgba(237,237,237,0.96) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed', GradientType=1 );    
    background-size: 100vh;
    padding-top: 10%
    overflow-y: scroll;
    }
    
    .breathe-8 {
    text-align: left; line-height: 2.2em;
    padding: 8%
    }

    Please check your CSS again and make sure there is no syntax mistake.

    Thanks.

    #876657

    Nicholas
    Participant

    I’ve gone through and made the changes, but

    .x-sidebar .widget a, .x-sidebar .widget ul li a {
        text-decoration: none !important;
    }
    

    will only apply in Cornerstone’s custom css; not site-wide via Customizer like I want

    #877326

    Jade
    Moderator

    Hi Nicholas,

    Please try this:

    .x-sidebar a
    .x-sidebar .widget a, 
    .x-sidebar .widget ul li a {
        text-decoration: none !important;
    }

    Hope this helps.