• Resolved shaggyshoogz

    (@shaggyshoogz)


    Hello,

    Can someone please tell me how to change the fonts on my site please (https://s642706034.websitehome.co.uk/) (waiting for domain name transfer)

    I had this hosted on wp.com and exported and imported to new host, however the fonts didnt come across.

    I installed Google Fonts and changed H1 – H6 to Oswald

    However some text such as site title and Blog post title have not changed.

    Ive tried to learn how to read CSS and I can make changes in chrome but they are obviously not perm

    If i untick:

    a {
    /* font-family: ” !important; */
    color: white;

    Then all my fonts change to the correct one.

    However that part of CSS is apparently in (index):41

    I cant find that anywhere, have been looking for 3 days.

    Or can I enter some CSS in the Appearance > Edit CSS page that will somehow override the above code?

    Someone please help before I scrap the site completely!

    Thanks in advance

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello,

    Could you please use this CSS code?

    .entry-title {
    font-family: georgia;
    }
    .site-title {
    font-family: georgia;
    }

    You can add this in a Child Theme style.css file or you can use a custom CSS plugin.

    Please let me know if you would like to change anything else.

    Thanks,
    Alex ??

    Thread Starter shaggyshoogz

    (@shaggyshoogz)

    Hello,

    I put that code in to CSS Stylesheet Editor in Appearence > Edit CSS and previewed it and nothing changed?

    I havent got a child theme, i tried to follow a guide but it made zero sense, i have to somehow install a second copy of wordpress no?

    Thread Starter shaggyshoogz

    (@shaggyshoogz)

    Ok so following on from your post I have installed ‘Simple CSS plugin’

    I have then gone to Customiser > Simple CSS

    Entered the code provided above but again, nothing has changed?

    Any help much appreciated

    Hi @shaggyshoogz,

    You’re right that the following CSS is causing the issue with your fonts:

    a {
        font-family: '' !important;
        color: !important;
    }

    That CSS, however, is not being added by the theme itself. Did you make any edit to the theme’s style.css file? If not, that CSS may be being injected by a plugin.

    If you’re not able to pinpoint exactly how that CSS is being added to your site, then try adding the following via Appearance > Edit CSS to “disable” it:

    a {
        font-family: inherit !important;
    }

    I havent got a child theme, i tried to follow a guide but it made zero sense, i have to somehow install a second copy of wordpress no?

    For the purposes of adding CSS, Jetpack’s CSS module is all you need. A child theme would be needed if you’d like to make further changes to the theme’s HTML/PHP.

    In case you’re like to make such changes in the future, I find the following guides to be clear and good introductions to child themes:

    I’ll be happy to help if any questions come up along the way too.

    Thread Starter shaggyshoogz

    (@shaggyshoogz)

    Siobhan, I could literally kiss you right now. 4 days and all it took was a line of code!

    Ive still absolutely no idea where that code is coming from, the only plugins ive installed were ones to try and override it, such as jetpack, google fonts and simple css editor.

    Im now going to tackle trying to change the navigation bar font on my own…so look out for a post from me in a few days when im pulling my hair out haha

    Alex, thanks to you as well, i appreciate your help.

    Cheers

    I’m glad that helped out! I’ll mark this thread as resolved but we’ll be happy to help with any new ones you may open. ??

    Hey,
    Help me also,
    I am also facing same issue
    I want to use Samarkan Font.
    Created Child Theme, Added font files to child theme directory as well,
    Changed on CSS also.
    Still problem persist.

    /* Theme Name: Supermag Child
    Theme URI: https://www.acmethemes.com/themes/supermag-child
    Description: Supermag Child Theme Author: John Doe 
    Author URI: https://www.acmethemes.com/
    Template: supermag
    Version: 1.0.0 
    License: GNU General Public License v2 or later 
    License URI: https://www.gnu.org/licenses/gpl-2.0.html 
    Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready 
    Text Domain: Supermag-Child
    */
    /* @font-face {
    	font-family: saman___;  
    	src: url(https://www.duites.com/wp-content/themes/Supermag-Child/assets/library/Font-Awesome/fonts/saman___-webfont.ttf);
    }
    /*
    .site-title { 
    font-family: saman___ ; 
    }
    */
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Help changing site title font?’ is closed to new replies.