Change font size of specific words in Slider title


Note : the following code snippet requires advanced WordPress developer skills. There's no guarantee that this snippet works as is with the latest version of our themes, and with the latest version of WordPress. That's why you need to always test any code snippets in a staging environment before implementing it in a production site.


The slider of the Customizr theme is used to attract attention to certain important posts. What if you want to give emphasis to some words in the Slider title, for instance, ‘FREE‘? Can you enlarge specific words in the title?

To achieve this effect, just paste this to your child theme’s functions.php.

 

 


Related Snippets you may also like


2 thoughts on “Change font size of specific words in Slider title

  • zeeshan

    Hi Menaka i have applied the above php code but dont know where and how to change the “Specific Words” in Slider
    Customize / Front Page / Select front page slider.
    Select front page slider Have Three options
    1- No slider
    2- Demo slider
    3- Auto generated slider from your blog posts
    4- Fourth slider option will appear only when i create slider from media library
    My question is that I have put the same above code in functions.php but dont know the where the changes take effect of the above code
    3- Auto generated slider from your blog posts
    or four options
    4- Fourth slider option will appear only when i create slider from media library
    http://zeeshannasir786.com/
    Thanks
    zeeshan

Comments are closed.