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

How to center logo

Discussion in 'Styling and Customization Questions' started by CiSNe, May 25, 2011.

  1. CiSNe

    CiSNe Member

    How to center logo of forum?

    Sorry for my ingles
     
  2. Vincent

    Vincent Well-Known Member

    Wrong forum.

    Anyhow, you do it this way: in template header.css, replace
    Code:
    #logo
    {
    display: block;
    float: left;
    line-height: {xen:calc '@headerLogoHeight - 4'}px;
    *line-height: @headerLogoHeight;
    height: @headerLogoHeight;
    vertical-align: middle;
    }
    by

    Code:
    #logo
    {
    display: block;
    float: center;
    line-height: {xen:calc '@headerLogoHeight - 4'}px;
    *line-height: @headerLogoHeight;
    height: @headerLogoHeight;
    vertical-align: middle;
    }
     
    Mujahid Taban likes this.
  3. CiSNe

    CiSNe Member

    thanks
     
  4. Forsaken

    Forsaken Well-Known Member

    There is no such thing as float:center;.

    Give me a few minutes and I'll play around with getting it centered.
     
    Peggy likes this.
  5. Forsaken

    Forsaken Well-Known Member

    Add this to extra.css

    Code:
    #logoBlock #logo
    {
    float:none;
    text-align:center;
    }
     
  6. CiSNe

    CiSNe Member

    thanks to

    sorry for my inglis
     
  7. oO5 Dynasty

    oO5 Dynasty Active Member

    Thank you sooooooo much, ive been trying to figure this out for a long time. Can you help me with other board styling questions?
     
  8. IckleKi

    IckleKi Member

    This doesn't work for me. I'm also using UIX theme if that changes anything.
     
  9. Brogan

    Brogan XenForo Moderator Staff Member

    You would be better off asking in the style thread as there may be a style property for it, or it may require a different solution.
     
  10. BossCraft

    BossCraft New Member

    i'm having the same problem it wont work for uix themes!
     
  11. Adam K M

    Adam K M Active Member

    BossCraft, you'll need to contact @Mike Creuzer. Use UI.X style discussion thread from the resource manager or on their website.
     
  12. BossCraft

    BossCraft New Member

    alright the might take long to answer but i will!
     
  13. Mike Creuzer

    Mike Creuzer Well-Known Member

    Our response time is probably one of the fastest around.

    Anyways, there is a setting under UI.X Logo called Viewport to Center Logo. Set that value to 100%. Any further questions please feel free to use the tickets at audentio.com or the this thread: UI.X [Paid]
     
    Jazem likes this.

Share This Page