Home Support Feature Requests Archive List: Own CSS

  • Author
    Posts
  • #3394
    Urs
    Participant

    Hi

    I don’t want to change the theme itself, so a “private” style sheet or something like that could be helpful.

    #3460
    Donna
    Keymaster

    Hi Urs,

    To override a theme or plugin’s CSS you could create a child theme. That way you don’t have to modify the CSS of the theme directly and have it be overwritten when the parent theme is updated.

    Is there any reason why that wouldn’t work for you?

    Cheers.

    • This reply was modified 4 years, 9 months ago by Donna.
    • This reply was modified 4 years, 9 months ago by Donna.
    #3474
    Urs
    Participant

    Hi Donna
    I’m not yet very experienced with it… And with the other posts and pages I’m quite happy with.

    #3482
    Urs
    Participant

    Hi Donna
    I found a relative simple solution for the next time:
    In class-book-review-public.php I changed from line 354

      if ( $atts['show_cover'] == 'true' ) {
              $html[] = '<span><a href="'. esc_url( get_permalink( $result->post_id ) ) .
                '">' . esc_html( $result->title ) . '</a></span>';
    
              if ( !empty( $result->author ) ) {
                $html[] = '<br /><span>' . esc_html( $result->author ) . '</span>';
              }
            }
            else {
    

    The result looks nice: buecher-und-videos-illustriert
    I’m using unaltered Twentyfourteen.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Feature Requests’ is closed to new topics and replies.