Author Topic: setting width of userinfo with css  (Read 882 times)

Offline iainsherriff

  • Newbie
  • *
  • Posts: 7
    • Email
setting width of userinfo with css
« on: May 12, 2012, 07:34:25 »
If you look at http://www.uklows.com/forum/index.php
you can see that the rotating banner repeats at the right hand side.
My banners are all 800 wide (forum used to be fixed width). Forum is now set to 90% width so I want to alter the userinfo div to be a flexible width......... sounds easy but I dont know enough to know if that is possible?
this is the present div coding



Code: [Select]
#userinfo {
font-size: 11px;
color: #fff;
float: right;
padding: 25px 20px;
text-align: left;
}


Can I chenge this to do what I want ?

thanks in advance

Offline ARG

  • GFX Designer
  • DS Friend
  • Hero Member
  • *
  • Posts: 5664
  • Civilian Support
    • Files4Design
Re: setting width of userinfo with css
« Reply #1 on: May 12, 2012, 08:31:51 »
Looks like you may have changed things around. The "id=header" is normally before the "id=userinfo" in index.template.php for this particular theme. Somehow you seem to have them switched around.

You may also try adding a proper width to this in index.css.
Code: [Select]
#header {
    background-image: url("../images/banner/rotate.php");
    height: 229px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

 ;)
I no longer work here. Please stop sending me messages asking for premium theme support. That is what the Support Boards are for. Thank You!

Offline iainsherriff

  • Newbie
  • *
  • Posts: 7
    • Email
Re: setting width of userinfo with css
« Reply #2 on: May 12, 2012, 09:32:26 »
I probably have changed it around  ::)

I dont really know what I'm doing so I just fiddle until it looks like I want it to  :dunno:

Maybe this is the time to save what I have and revert to standard and start step by step again. Main trouble is the chaces I have to do stuff are too far apart so I dont remember what I've done enough to learn a pattern

Offline ARG

  • GFX Designer
  • DS Friend
  • Hero Member
  • *
  • Posts: 5664
  • Civilian Support
    • Files4Design
Re: setting width of userinfo with css
« Reply #3 on: May 12, 2012, 19:52:43 »
Always save a backup of your original file before making any changes. This not only will help you remember what changes you have made but also acts as somewhat of a safety barrier if you happen to make any mistakes along the way.

 :cheers:
I no longer work here. Please stop sending me messages asking for premium theme support. That is what the Support Boards are for. Thank You!