1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 Center category name?

Discussion in 'Styling and Customization Questions' started by Maher Abdallah, Jul 3, 2016.

  1. Maher Abdallah

    Maher Abdallah New Member

    Hey,

    I was wondering if there was a way to center the name of the category?

    Thanks
     
  2. katsulynx

    katsulynx Well-Known Member

    Code:
    .nodeList .categoryText .nodeTitle {
        text-align: center;
    }
    For Title Centering only,
    Code:
    .nodeList .categoryText {
        text-align: center;
    }
    To center title AND description. Chose one and put it to your extra.css
     
  3. Maher Abdallah

    Maher Abdallah New Member

    Thanks for the reply, but those didn't seem to work
     
  4. Sunka

    Sunka Well-Known Member

    Try this! Put it into extra.css
    Code:
    .nodeList .categoryStrip {
        text-align: center !important;
    }
     
  5. Maher Abdallah

    Maher Abdallah New Member

    That didn't work either, it could be the theme I currently have that may be overriding it. I'll try to get an answer from the developers once they're available.

    Thanks for your time
     

Share This Page