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

Little help with CSS

Discussion in 'XenForo Questions and Support' started by Andy.N, Jan 20, 2011.

  1. Andy.N

    Andy.N Well-Known Member

    Figure I can ask here for help from the experts.

    EDIT: Requested filled

    This involves some CSS knowledge. Can anyone help?

    Thanks a lot
     
  2. Andy.N

    Andy.N Well-Known Member

    Still waiting for some kind soul to help. Thanks a lot.
     
  3. Caelum

    Caelum Well-Known Member

    A link to the actual site where you want this changed would be helpful. ;)
    Without being able to look at your actual site, best advice I can give you is toying around with padding & margin.

    EDIT: Unless http://mfe.baruch.cuny.edu IS the place you want it edited? :p
     
  4. Andy.N

    Andy.N Well-Known Member

    Links on the first post.
    First link is the site where I have moved the search box but it does not display in the way I like.
    Second like is how I like the search box to appear.

    Thanks for your time.
     
  5. Brogan

    Brogan XenForo Moderator Staff Member

    Do you mean like this?

    search.PNG

    I just added 20px right padding to the class:
    Code:
    .searchbox {
    padding: 10px 20px 0px;
    }
     
    Andy.N likes this.
  6. Caelum

    Caelum Well-Known Member

    In your stylesheet, find:
    Code:
    .searchbox{ padding: 10px 0;}
    Replace with:
    Code:
    .searchbox{padding:10px 0;margin-top: -35px;}
    Feel free to toy around with the -35, it's just a rough guess. ;)
    Think that should do what you're after though.
    EDIT: Also, Brogan is a ninja.
     
    Andy.N likes this.
  7. Andy.N

    Andy.N Well-Known Member

    Thank you, both.
    Caelum, your margin-top did it.
     
    Caelum likes this.

Share This Page