center slider text in image and at the top

Home Forums All Other Themes center slider text in image and at the top

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #39514
    KevinKevin
    Member
    • Topics: 4
    • Replies: 13
    • Total: 17
    Member since: June 7, 2016

    How do I get the slier text to be centered in the image and at the top of the container?

    #39546
    Sonnal S SinhaSonnal S Sinha
    Moderator
    • Topics: 0
    • Replies: 30633
    • Total: 30633
    Member since: August 16, 2013

    Hi Kevin,

    Kindly go to Appearance>>Theme Option>>Basic Setting>>Custom CSS Box

    Add this code there:

    .nivo-caption{width:600px !important; left:0; right:0; text-align:center; margin:auto;}

    Regards,
    Brad

    #39592
    KevinKevin
    Member
    • Topics: 4
    • Replies: 13
    • Total: 17
    Member since: June 7, 2016

    THANK YOU,

    THIS post was helpful!
    Now can i add a little more to the CSS box so i can get it at the TOP center of the image?

    #39598
    KevinKevin
    Member
    • Topics: 4
    • Replies: 13
    • Total: 17
    Member since: June 7, 2016

    At the risk of bumping my own post 😉 – I now have the text at the top by adding top:0 to the css you gave me – but i would like it to be slightly below the top – not right at the top. is that possible?
    Also now on my phone the text is way off to the right and not centered in the image. Did I do something wrong when i copy and pasted the code into the css box?

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘center slider text in image and at the top’ is closed to new replies.