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

XF 1.4 Add a slogan/text on the right of the header.

Discussion in 'Styling and Customization Questions' started by Betclever, Feb 20, 2015.

  1. Betclever

    Betclever Active Member

    Hello all,

    How can I add a slogan/text on the right of the header?

    See att.

    Regards,
     

    Attached Files:

  2. Brogan

    Brogan XenForo Moderator Staff Member

    Use the ad_header template to add any custom content in that location.
     
  3. Betclever

    Betclever Active Member

    Hello, thanks but how can I add text cause I only have this in that template => <xen:hook name="ad_header" />

    I'm not expert. :/

    Thanks for your help.
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Simply enter the text you want.

    You will likely need to style it to suit.
     
  5. Betclever

    Betclever Active Member

    Ah ok but when I'm entering by ex. "test", nothing appears... Normal?
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    It works for me.

    upload_2015-2-20_18-10-0.png

    upload_2015-2-20_18-10-19.png
     
  7. Betclever

    Betclever Active Member

    Thanks Brogan, I had hided the logo with a CSS command so that was my case. :)
     
  8. Betclever

    Betclever Active Member

    Hello,

    I got a last question:

    In fact, when I add a word or phrase, it goes to the left and not to the right.
    How can I "move it" to the right cause I know some CSS commands like margin-right or left but how can I apply it cause when I use "firebug", I can't select the text I added?

    Thanks.
     
  9. Brogan

    Brogan XenForo Moderator Staff Member

    Use float:right.
     
  10. Betclever

    Betclever Active Member

    Where Brogan?

    Directly in that template or elsewhere?
     

Share This Page