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

How do i shorten the page title space?

Discussion in 'XenForo Questions and Support' started by TNCclubman, Jan 3, 2011.

  1. TNCclubman

    TNCclubman Well-Known Member

    Ive reduced the font size to 8px (from 12px default), but the space it takes up has remained the same. How do I reduce the top and bottom space above and below the Page title?
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Do you mean the H1 title on each page?

    You would have to edit the css for .h1 and/or .titleBar.
    Or add custom css to EXTRA.css which will override it.
     
  3. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Do you mean this area?

    Screen shot 2011-01-03 at 3.29.55 PM.png

    Edit this template:

    Admin CP -> Appearance -> Templates -> xenforo.css

    Code:
    .titleBar
    {
    	margin-bottom: 10px;
    }
    
    {xen:helper clearfix, '.titleBar'}
    
    .titleBar h1
    {
    	@property "h1";
    	font-size: 18pt;
    	overflow: hidden;
    	zoom: 1;
    	@property "/h1";
    }
    
    edit - Brogan! :p
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    :p

    :D

    In fairness, my response was much less detailed.
     
  5. TNCclubman

    TNCclubman Well-Known Member

    thanks that worked!

    turned this

    .titleBar
    {
    margin-bottom: 10px;

    into this

    .titleBar
    {
    margin-bottom: 2px;
     

Share This Page