• I believe it’s a theme related issue, but I’m going crazy trying to get certain attributes like bold to work. I’m not sure where to go to enable certain attributes within the theme. I even tried creating a bold span class, tossed it in my main css file, and tossed some sample text from a post within the span. Still not having any luck.

    All suggestions are appreciated.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter Moobs

    (@nickyb713)

    I think it may have something to do with my theme’s reset file.

    `/*RESET*/
    /*http://meyerweb.com/eric/tools/css/reset/ | v1.0 | 20080212*/
    body, html {height: 100%;}
    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,
    b, u, i, center,
    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-size: 100%;vertical-align: baseline;background: transparent;}
    body {line-height: 1;}
    ol, ul {list-style: none;}
    blockquote, q {quotes: none;}
    blockquote:before, blockquote:after, q:before, q:after {content: ”; content: none;}
    :focus {outline: 0;}/* remember to define focus styles! */
    del {text-decoration: line-through;}
    table {border-collapse: collapse; border-spacing: 0;}/* tables still need ‘cellspacing=”0″‘ in the markup */
    /*GENERAL STYLES*/
    /*FLOATING*/
    .left{float: left;}
    .right{float: right;}
    .clear {clear: both;height: 1px;margin: -1px 0 0;overflow: hidden;}
    html body * span.clear,
    html body * div.clear,
    html body * li.clear,
    html body * dd.clear
    {background: none;border: 0;clear: both;display: block;float: none;font-size: 0;list-style: none;margin: 0;padding: 0;overflow: hidden;visibility: hidden;width: 0;
    height: 0;}`

    There’s no way to help with any CSS issues without seeing the actual site.

    Thread Starter Moobs

    (@nickyb713)

    Here’s a link: chump

    I updated my google font api to include bold, but still not showing up.

    <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,700italic' rel='stylesheet' type='text/css'>

    I even tried creating a bold span class, tossed it in my main css file

    The main style.css does not apply to the visual editor.

    Read this on how to add css to the visual editor.
    http://codex.wordpress.org/Function_Reference/add_editor_style

    Thread Starter Moobs

    (@nickyb713)

    @ronangelo

    Thanks I read through the codex and have tried making a few adjustments to my functions and theme.php files.

    Functions.php

    `I changed: add_editor_style();

    Added parameter: add_editor_style($stylesheet);`

    theme.php

    `I changed: function add_editor_style( $stylesheet = ‘editor-style.css’ )

    To: function add_editor_style( $stylesheet = ‘reset.css’ )`

    The theme I’m using is not based off 2013 and I believe the reset css that i posted above is my theme’s “editor-style.css”. I’m still not having any luck, if i’m going about this all wrong please let me know.

    Could you describe what exactly you want to do?

    Thread Starter Moobs

    (@nickyb713)

    I just want bold to work when I click bold. It could be a font related issue. Since I’ve changed the api italicizing now italicizes and boldens words. But using bold on its own does not work.

    Are you talking about what shows up in the editor or on your site? You should not be modifying any WP core files ever. And any changes to theme files should be made only in a child theme – otherwise they will all be overwritten when the theme is updated.

    Also, for any theme-specific issues, you should be asked the developers of the theme for help – these forums only support themes from this site:

    http://wordpress.org/themes/

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Theme Visual Editor Issues’ is closed to new replies.