Forum Replies Created

Viewing 9 replies - 46 through 54 (of 54 total)
  • Thread Starter MrNickSheppard

    (@mrnicksheppard)

    Ah yes you said, sorry. Changed that and has activated successfully…but no style applied

    Thread Starter MrNickSheppard

    (@mrnicksheppard)

    Oh…I’d failed to notice the error message “The active theme is broken. Reverting to the default theme.” when I tried to activate which was why it had reverted to TwentyTwelve as default theme so presumably there is something wrong with my child theme. This is a screenshot of my fonts folder https://snag.gy/31OWX.jpg and my style css is below…occurred to me that I wasn’t referencing the right urls for the fonts so had a stab but same result. Sorry to be such hard work!

    Theme URI:      https://www.ads-software.com/extend/themes/twentyten
    Description:    Child theme for the Twenty Ten theme
    Author:         Nick Sheppard
    Author URI:     https://cardtherapy.co.uk
    Template:       twentyten-child
    Version:        0.1.0
    */
    
    @import url("..twentyten/style.css");
    @font-face {
        font-family: '..fonts/calligraffitiregular';
        src: url('..fonts/calligraffiti-webfont.eot');
        src: url('..fonts/calligraffiti-webfont.eot?#iefix') format('embedded-opentype'),
             url('..fonts/calligraffiti-webfont.woff') format('woff'),
             url('..fonts/calligraffiti-webfont.ttf') format('truetype'),
             url('..fonts/calligraffiti-webfont.svg#calligraffitiregular') format('svg');
        font-weight: normal;
        font-style: normal;
    
    }
    Thread Starter MrNickSheppard

    (@mrnicksheppard)

    Doh…I think I might just have referenced the wrong theme then! ‘Cos I was trying to do it while at work :-! I’ll try again

    Thread Starter MrNickSheppard

    (@mrnicksheppard)

    Yep that’s what I did…it looks to you like everything is referenced correctly then (get a bit confused with file paths!)? I’ll check with my hosting provider as you suggest. Thanks for your help!

    Thread Starter MrNickSheppard

    (@mrnicksheppard)

    Would Google Analytics count? Relatively fresh install and only Facebook like and GA were active. Both deactivated now.

    Thread Starter MrNickSheppard

    (@mrnicksheppard)

    Ah it’s still not working but I’ve added @import url("../twentyten/style.css"); and activared it in my dashboard…looks like it’s not referencing any stylesheet now though…

    https://cardtherapy.co.uk/

    Thread Starter MrNickSheppard

    (@mrnicksheppard)

    Now tried this…but can’t get my head round how twentyten-child needs to be referenced:

    /*
    Theme Name:     Twenty Ten Child
    Theme URI:      https://www.ads-software.com/extend/themes/twentyten
    Description:    Child theme for the Twenty Ten theme
    Author:         Nick Sheppard
    Author URI:     https://cardtherapy.co.uk
    Template:       twentyten-child
    Version:        0.1.0
    */
    
    @font-face {
        font-family: 'calligraffitiregular';
        src: url('calligraffiti-webfont.eot');
        src: url('calligraffiti-webfont.eot?#iefix') format('embedded-opentype'),
             url('calligraffiti-webfont.woff') format('woff'),
             url('calligraffiti-webfont.ttf') format('truetype'),
             url('calligraffiti-webfont.svg#calligraffitiregular') format('svg');
        font-weight: normal;
        font-style: normal;
    
    }
    
    #h2 {
     font-family: 'calligraffitiregular';
    }
    Thread Starter MrNickSheppard

    (@mrnicksheppard)

    Thanks…followed instructions up to https://www.ads-software.com/support/topic/how-do-i-change-the-site-title-font-to-segoe-script?replies=27&view=all#post-3680204 but I’m a little bit stuck…created a dir called twentyten-child and included a sub-dir called fonts with font files from @font-face but not sure what needs to go in my style.css beyond:

    [ Moderator note: please wrap code in backticks or use the code button. ]

    /*
    Theme Name:     Twenty Ten Child
    Theme URI:      https://www.ads-software.com/extend/themes/twentyten
    Description:    Child theme for the Twenty Ten theme
    Author:         Nick Sheppard
    Author URI:     https://cardtherapy.co.uk
    Template:       twentyten-child
    Version:        0.1.0
    */
    
    Do I need to include the css from th e@font-face stylesheet.css?
    
    @font-face {
        font-family: 'calligraffitiregular';
        src: url('calligraffiti-webfont.eot');
        src: url('calligraffiti-webfont.eot?#iefix') format('embedded-opentype'),
             url('calligraffiti-webfont.woff') format('woff'),
             url('calligraffiti-webfont.ttf') format('truetype'),
             url('calligraffiti-webfont.svg#calligraffitiregular') format('svg');
        font-weight: normal;
        font-style: normal;
    
    }

    But then I guess I need to reference the relevant headings…sorry not great with css!

    Thread Starter MrNickSheppard

    (@mrnicksheppard)

    S’ok – problem was cos I’d re-installed with same database! I’ve now created a new one…you must have checked when I deleted DB.

Viewing 9 replies - 46 through 54 (of 54 total)