an
groups-icon

Css won't update my cutom function's styles

Wait a minute... This content is very very old. We no longer sell or support this theme version. New Topics
  • Version 9
    Miguel Rojas
    0 points
    Beginner

    I created a custom function inside my child theme folder. I have a css also inside the same childtheme folder.
    Problem is when I update the CSS, it does not take changes on my created function’s styles!
    Here an example:

    The Function Sample
    [code title=”function”]
    add_shortcode(‘sample’, ‘func’);
    function func(){
    return ‘<div class=”csssample”>’ . Sample. ‘</div>’;
    }
    [/code]
    The CSS Sample
    [code title=”css”]
    .csssample{
    displa:block;
    color:red;
    font:14px;
    }
    [/code]
    Any reason why?

    September 16, 2015 at 2:30 pm
  • Mark Eting
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    September 16, 2015 at 3:57 pm
  • Miguel Rojas
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    September 16, 2015 at 5:20 pm
  • Mark Eting
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    September 16, 2015 at 8:24 pm
  • Miguel Rojas
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    September 18, 2015 at 12:09 pm
  • Clive Boosey
    -1 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    September 18, 2015 at 12:53 pm

312

Views

5

Replies