Logo image position command

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • setishock
    Senior Member
    • Jun 2005
    • 1334
    • 4.2.x

    [Forum] Logo image position command

    I was poking around in the vbulletin-chrome.css page and came on to this:
    Code:
    .logo-image { float:{stylevar left}; }
    As it says logo image I got courious to what it does. I changed left to right and found it shoves my logo over to the right.
    AH HA!! An easy way to position the logo in the header. But alas no joy when I changed stylevar left or right to an align or position style of command.
    Is some one hip to what the correct command would be using that .logo-image to center up the image?
    ...
  • Andy
    Senior Member
    • Jan 2002
    • 5886
    • 4.1.x

    #2
    Just add this to the element.

    position:relative;
    left:50%;
    text-align:left;

    Comment

    • setishock
      Senior Member
      • Jun 2005
      • 1334
      • 4.2.x

      #3
      I took the 50% down to 9% and it worked perfect. Thank you very much. I was getting friendly grief from a coworker last night about getting it centered.
      I have my forum at a fixed width of 1280 with the left and right margins set to auto. The welcome: setishock and the rest of that line is pinned to the upper right corner of the screen. Any idea how to reposition that?
      Thanks again for your help. I hope to go live some time tomorrow.
      ...

      Comment

      • Andy
        Senior Member
        • Jan 2002
        • 5886
        • 4.1.x

        #4
        Originally posted by setishock
        The welcome: setishock and the rest of that line is pinned to the upper right corner of the screen. Any idea how to reposition that?
        Code:
        .toplinks {
        	position:absolute;
        	{vb:stylevar right}:{vb:math {vb:stylevar padding}*2};
                right: 0px !important; /* changed by andy added */ 
        	top:0;
        	color:{vb:stylevar toplinks_link_color};
        	font: {vb:stylevar header_font};
        	text-align:{vb:stylevar right};
        }
        Change 0px to the value you need.

        Comment

        • setishock
          Senior Member
          • Jun 2005
          • 1334
          • 4.2.x

          #5
          Between top and right I got it sitting pretty close to where I want it. Thanks again.
          ...

          Comment

          Related Topics

          Collapse

          Working...