Bold Headline
Make site title keep to one line (4 posts)

  1. ba9ag
    Posted 2 years ago #

    My website title "Things that P me Off" is seemingly too long to fit on one line of text, how can I modify the theme to change it so that it does please?

  2. paulwpxp
    Font hero
    Posted 2 years ago #

    Theme uses FitText.js for headers, you can change the value of min/max font size in theme's js function, dequeue theme's js and enqueue your own version in child theme, or use this CSS workaround

    /*-------------------- do site title adjust --------------------*/
    h1.site-title a {
    	font-size: 80% ! important;
    	white-space: nowrap;
    @media screen and (min-width: 960px) {
    	h1.site-title a {
    		font-size: 100% ! important;
    		max-width: 960px;
    		overflow: hidden;
    		letter-spacing: -7px;
    		word-spacing: 10px;
    /*-------------------- end site title adjust --------------------*/

    If not on child theme, use it in Custom CSS plugin.

  3. ba9ag
    Posted 2 years ago #

    Thank you - that worked perfectly.

  4. Christine Rondeau
    Volunteer Forum Moderator
    Theme Author

    Posted 2 years ago #

    Great. Glad that worked.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic


No tags yet.