Viewing 7 replies - 1 through 7 (of 7 total)
  • Can you point me to what post and what word you added this style to?

    Thread Starter gettingcloseto

    (@gettingcloseto)

    Hi Aaron,

    For example in this post, I would like to make “Places visited” a heading and “Grand Place / Grote Markt” bold.

    Thank you,

    Dalia

    Here is the CSS conflict :

    html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
    }
    
    element.style {
    display: block;
    font-size: 1.17em;
    -webkit-margin-before: 1em;
    -webkit-margin-after: 1em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    font-weight: bold;

    The font-weight: inherit; attribute take precedence over font-weight: bold;

    So, to test, remove the attribute :
    font-weight: inherit;
    from the CSS master rule :
    html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td

    Thread Starter gettingcloseto

    (@gettingcloseto)

    I am in the CSS Stylesheet and I can only find “font-weight: bold;” – I don’t see “font-weight: inherit” anywhere. Am I looking at the right sheet?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Check whether its in a separate stylesheet named something similar to “resets”

    Thread Starter gettingcloseto

    (@gettingcloseto)

    I found it under reset.css and deleted all the inherits but the pages still look the same.

    Thread Starter gettingcloseto

    (@gettingcloseto)

    Here is what the page looked like. I deleted the parts in bold.

    /*————————————————————————————————————————–*/
    /*- RESET – Courtesy of Eric Meyer’s CSS Reset Awesomeness: http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/ —*/
    /*————————————————————————————————————————–*/
    html, body, div, span, applet, object, iframe,
    h1, h2, h3, h4, h5, h6, p, blockquote, pre,
    a, abbr, acronym, address, big, cite, code,
    del, dfn, em, font, img, ins, kbd, q, s, samp,
    small, strike, strong, sub, sup, tt, var,
    dl, dt, dd, ol, ul, li,
    fieldset, form, label, legend,
    table, caption, tbody, tfoot, thead, tr, th, td{
    margin: 0; padding: 0; border: 0; outline: 0; font-weight: inherit; font-style: inherit; font-size: 100%; font-family: inherit; vertical-align: baseline;
    }
    /* remember to define focus styles! */
    :focus {outline: 0;}
    body {line-height: 1; color: black; background: white;}
    ol, ul {list-style: none;}
    /* tables still need ‘cellspacing=”0″‘ in the markup */
    table {border-collapse: separate;border-spacing: 0;}
    caption, th, td {text-align: left;font-weight: normal;}
    blockquote:before, blockquote:after,
    q:before, q:after {content: “”;}
    blockquote, q {quotes: “” “”;}

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Can't format font’ is closed to new replies.