Home Forums Exoplanet Pro Slider Text Size

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #6621
    Ivette Palomo
    Participant

    Greetings,

    How do I change the text size of the font of the title and body in the sliders through the Customize area?

    Thank you.

    Ivette

    #6623
    Andy
    Keymaster

    Hi Ivette,

    Add this small snippet of CSS to Additional CSS, changing 46px and 26px

    .slide-cap-title {
        font-size: 46px;
    }
    
    .slide-cap-desc {
        font-size: 26px;
    }
    #6637
    Ivette Palomo
    Participant

    Thank you Andy!

    #6658
    Ivette Palomo
    Participant

    Andy, I tried using the same code to change the font and text size of the slider section on a particular page by inserting it into the Custom CSS section.  But, it does not work.  Is there a different code that I would need to use?

    Thank you.

    Ivette

    #6660
    Andy
    Keymaster

    For a particular page you will need to use the ID of the page that you want the styling applied to.

    e.g. the following will only be applied to the page which has the ID of 27

    .page-id-27 .slide-cap-title {
        font-size: 46px;
    }
    
    .page-id-27 .slide-cap-desc {
        font-size: 26px;
    }
    #6662
    Ivette Palomo
    Participant

    Thank you Andy.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Slider Text Size’ is closed to new replies.