• Resolved jabdo

    (@jabdo)


    In 3.9.1, the code tag doesn’t seem to be working for this theme. I’ve tried switching to the default theme, and the code tag comes through fine on there. I’m going to trying to edit this in the theme, but am unfamiliar with CSS and web stuff; does anyone know how to fix this or where I can find the definitions?

    Thank you!

    https://wordpress.org/plugins/buddypress-docs/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jabdo

    (@jabdo)

    Comparing it to twentyfourteen, it seems like it’s not defined in the style.css file, if I’m reading this correctly. It’s referenced once, but in the twentyfourtee/style.css file, it’s referenced many times, and I’m not even sure how to read this. I’m going to go through the W3 CSS thing, but if someone could give me some pointers as to how to define this, that would be very helpful.

    Thread Starter jabdo

    (@jabdo)

    Ok, I directly copy-pasted this from the twentyfourteen theme, so let me know if you think there’s a better way. I added

    code,
    kbd,
    tt,
    var,
    samp,
    pre {
    font-family: monospace, serif;
    font-size: 15px;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
    line-height: 1.6;
    }

    to the _inc/css/style.css file. I’m working on a background/font color that matches the theme, but I think I’m going to go with background-color: #222; to match the bar and a bright terminal-like color., although I have no eye for design.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to get the "code" tag working?’ is closed to new replies.