• Resolved bvo

    (@bvo)


    LS,
    I created a child theme, which works fine. I have one problem though. In the parrent theme (attitude), the read more link is a botton (display:inline-block). I want this link to be text. So, how do I override display:inline-block in my child theme? When I delete this in the parrent theme (as a test), the button is gone but the text link is still there. Just the way I want it. Display:none is no option, because I do want the link, but not the button. Hope someone can help me.

    Regards,
    Bas

Viewing 4 replies - 1 through 4 (of 4 total)
  • Please add a link to your site.

    Thread Starter bvo

    (@bvo)

    As requested:
    link

    Hi, I don’t think you need to overwrite display:inline-block. Try adding the following code your child themes style.css file:

    a.readmore {
    color: #777;
    background: none;
    border: none
    }
    a.readmore:active {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    }

    Hope that helps,

    Afzaal

    Thread Starter bvo

    (@bvo)

    Yeah, perfect. I also added background:none to a.readmore:hover.
    Thank you!!

    Bas

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘override display:block’ is closed to new replies.