Home Forums Exoplanet Pro Adust Width of Caption in Home Page Slider

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1657
    JohnBoy
    Participant

    I would like to be able to adjust the width of the captions in the home page slider.

    Is this possible?

    #1658
    Yazmin
    Keymaster

    Hi, yes it is possible.

    In Appearance > Customize > Additional CSS add this CSS, change the 650px to a suitable width:

    .slide-caption {
    width: 650px;
    }
    #1660
    JohnBoy
    Participant

    Yes, I already tried that, but then it comes out not centered. OK, perhaps I will just switch to left-aligned.

    Thank you.

    #1661
    Andy
    Keymaster

    Hi John

    There is an extra line missing from the above, sorry about that.

    It should be:

    .slide-caption {
    width: 650px;
    margin-left: -325px;
    }

    where the margin-left value is negative half of the width value e.g.

    .slide-caption {
    width: 800px;
    margin-left: -400px;
    }
    #1668
    JohnBoy
    Participant

    Perfect. Thank you.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Adust Width of Caption in Home Page Slider’ is closed to new replies.