WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. ba9ag
    Member
    Posted 10 months 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 10 months 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.
    http://wordpress.org/plugins/search.php?q=custom+css

  3. ba9ag
    Member
    Posted 10 months ago #

    Thank you - that worked perfectly.

  4. Christine Rondeau
    WP Yogi & Forum Moderator
    Theme Author

    Posted 10 months ago #

    Great. Glad that worked.

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.