Support » Theme: Morphology Lite » Change font-family and -size of .site-title

  • Resolved KeesD

    (@keesd)


    Hello,

    Please help …
    I want to change the font-family and font-size of .site-title, .site-title a.
    Started with a child theme style.css, didn’t work.
    Edited the parent style.css, didn’t work either.
    Installed Simple Custom CSS entered this css:

    .site-title, .site-title a, .site-title a:visited {
    	color: #000;
    }
    
    .site-title, .site-title a {
    	font-family: "Open Sans", Arial, Helvetica, sans-serif;
    	font-size: 0.75rem;
    	font-weight: 400;
    	line-height: 1.2;
    	margin-bottom: 0;
    }
    

    Also without success.
    What am I doing wrong?

    Cheers,
    KeesD

Viewing 6 replies - 1 through 6 (of 6 total)
  • Theme Author Shaped Pixels

    (@shaped-pixels)

    Actually, the methods and the code you are using is correct. Is your site running with a caching plugin, or a cache or CDN host setup?

    Also, if you have a link to your site, I can take a quick look, because something is obviously blocking your changes.

    Thread Starter KeesD

    (@keesd)

    Thank you, John for your reaction.

    I have no caching plugins running and no CDN. I emptied the browser cache several times etc.

    Here is a link to my site.

    Thanks in advance.
    KeesD

    Theme Author Shaped Pixels

    (@shaped-pixels)

    Thanks for the site link….I see you are using a child theme, so we will use that. In your child theme’s style.css file, can you put your code you want for changing the site title:

    .site-title, .site-title a {
    	font-family: "Open Sans", Arial, Helvetica, sans-serif;
    	font-size: 0.75rem;
    }

    You only need to add what you are changing. After adding the CSS, reply back here and then I will look at the source code. Make sure though when you add the CSS code that it’s below (after) the last */ in the style.css file (below the comment information in the file).

    Thread Starter KeesD

    (@keesd)

    Thanks for your support. This works.

    Enjoy the weekend.

    Theme Author Shaped Pixels

    (@shaped-pixels)

    You are very welcome and it’s also great to hear it’s working 🙂

    ….as for the weekend, lots of work for me, but I will still get in some free time. Make sure you get away from the computer yourself for the weekend!

    Anyway, I’ve set this topic as “Resolved”.

    Cheers,
    Andre

    Thread Starter KeesD

    (@keesd)

    Thanks again Andre and sorry for calling you John in a previous item.

    Cheers,
    KeesD

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Change font-family and -size of .site-title’ is closed to new replies.