WordPress.org

Ready to get started?Download WordPress

Forums

Can't format font (8 posts)

  1. gettingcloseto
    Member
    Posted 1 year ago #

    Hi!
    I am trying to insert headings, italics and bold in my posts, but although they show up in the admin backend, they don't show up in the posts themselves.
    The site is http://www.gettingcloseto.com
    Thanks for your help!

  2. Aaron
    Member
    Posted 1 year ago #

    Can you point me to what post and what word you added this style to?

  3. gettingcloseto
    Member
    Posted 1 year ago #

    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

  4. riversatile
    Member
    Posted 1 year ago #

    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

  5. gettingcloseto
    Member
    Posted 1 year ago #

    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?

  6. Andrew
    Forum Moderator
    Posted 1 year ago #

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

  7. gettingcloseto
    Member
    Posted 1 year ago #

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

  8. gettingcloseto
    Member
    Posted 1 year ago #

    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: "" "";}

Topic Closed

This topic has been closed to new replies.

About this Topic