Title: override display:block
Last modified: August 21, 2016

---

# override display:block

 *  Resolved [bvo](https://wordpress.org/support/users/bvo/)
 * (@bvo)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/override-displayblock/)
 * 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)

 *  [ThinkUpThemes](https://wordpress.org/support/users/thinkupthemes/)
 * (@thinkupthemes)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/override-displayblock/#post-4225977)
 * Please add a link to your site.
 *  Thread Starter [bvo](https://wordpress.org/support/users/bvo/)
 * (@bvo)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/override-displayblock/#post-4225992)
 * As requested:
    [link](http://www.basenmandy.nl)
 *  [ThinkUpThemes](https://wordpress.org/support/users/thinkupthemes/)
 * (@thinkupthemes)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/override-displayblock/#post-4226002)
 * 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](https://wordpress.org/support/users/bvo/)
 * (@bvo)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/override-displayblock/#post-4226011)
 * 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.

## Tags

 * [childtheme](https://wordpress.org/support/topic-tag/childtheme/)

 * 4 replies
 * 2 participants
 * Last reply from: [bvo](https://wordpress.org/support/users/bvo/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/override-displayblock/#post-4226011)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
