Jump to content

Is it possible to change part of a SITE TITLE'S font size?

Go to solution Solved by tuanphan,

Recommended Posts

  • Replies 4
  • Views 164
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution
On 5/10/2024 at 10:46 PM, 1000Watts said:

Password is IRIS.  Thank you!

You can use this code to Website > Website Tools > Code Injection > Footer

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
<script>
$(document).ready(function(){
    $("a#site-title").each(function() {
    $(this).html($(this).html().replace(/ASC/g, "<span>ASC</span>"));
});
});
</script>
<style>
  a#site-title span {
    font-size: 14px;
}
</style>

image.png.5fc9eecdc715ea83756e1c7ef19877f8.png

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.