presentation page center text on slider

  • Author
    Posts
  • #28230

    Jens

    Hello,

    I’m from Germany, so my English isn’t the best. Hope you apologize this …

    In the presentation page-slider are two text areas: Title and Text.
    The Title is centered, unfortunately the Text is not, it stays on the left side.
    Is it possible to center the Text?

    Best from Hamburg
    Jens

    #28251

    Kay
    Keymaster

    Hi Jens,

    Add this code to the Custom CSS area:

    .slide-text {text-align: center;}


    Before posting consider reading our short theme debugging instructions.
    Please read the FAQs: MantraNirvanaParabolaTempera
    Tutorials: custom menustranslating themeinstalling themecategory page with introdisabling comments Wordpress: child themescategories/posts
    Before making any modifications to your theme we strongly recommend using Child Themes.
    #28751

    Annette

    I tried that and it didn’t work. Any suggestions?

    #28799

    Laurel Knight

    I also tried that…:( Didn’t work on mine either. Love the theme, no complaints! Just would like to center the text on the slider images!!!

    #28800

    Laurel Knight

    I did add that code to the miscellaneous section, where there is a custom CSS space….and it didn’t work. What could be wrong??

    #28892

    Greg

    just use div right in the text of the slider itself. works great
    <div align=”center”> text bla bla bla </div>

    #29042

    GUWI66

    Suche im Template die “frontend.css,
    scroll runter bis zum Eintrag: .slide-text
    dort dann “text-align:left” auf “text-align:center” stellen
    funktioniert!!!!!!

    #29046

    Helena

    Hello!

    Can you please write it in english as well? I am not able to find out where I have to go 🙂

    Thank you!

    #29048

    GUWI66

    ok, but sorry for my english….lol

    go to >template>nirvana>styles

    open the ” style-fronpage.css ”
    then scroll to the entry
    `.slide-text {
    text-align: left; >>>>>>>change it to center
    line-height: 1.4em;
    letter-spacing: 1px;
    font-weight: 300;
    width: 80%;
    display: block;
    margin: 0 auto;
    filter: alpha(opacity=100);
    opacity: 1;
    display: block;
    sorry for my english

    #29049

    GUWI66

    in the editor you find it in row 176

    #29055

    Annette

    I’ve tried all but one of these suggestions and still not working. With the last suggestion, there is a note that says any changes will be deleted with updates, so that one seems pointless.
    I’d really like to know how to do this as it’s an obvious misalignment.

    #29088

    Ross Willits

    I just added the above declaration in the Miscellaneous CSS area, but added “!important”. This overrides any other declaration that might be working against you.

    So the new declaration is:

    .slide-text {text-align: center !important;}

    Hope this helps.

    #29179

    Russell

    GUWI66’s suggestion worked for me.

Viewing 13 posts - 1 through 13 (of 13 total)

The topic ‘presentation page center text on slider’ is closed to new replies.