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

XF 1.3 How to fix margin/padding in resource manager/remove borders

Discussion in 'Styling and Customization Questions' started by PAPPACLART, May 13, 2014.

  1. PAPPACLART

    PAPPACLART Active Member

    Hey Gents

    Recently purchased the resource manager and have been playing with it on my test site.

    How do I fix the text in the message as there is no margin/padding. Had a look around the style variables but can not find one that relates .

    http://todo10.com/xenforo35/index.php?resources/gbrc-gt300-event.2/

    Also how do I get rid of/change colour these borders that surround the resources, as well as the ones on the side bar? http://todo10.com/xenforo35/index.php?resources/

    Also same problem with thread thread listing borders, can not find where to remove/change them?
    http://todo10.com/xenforo35/index.php?forums/welcome-to-gt-arena.163/

    If it helps I am using UIX drift theme.

    Thanks
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    If there are no Style Properties for those, you will need to use EXTRA.css or modify the templates directly.

    You can use a browser inspection tool to see which classes you need to target.
     
  3. PAPPACLART

    PAPPACLART Active Member

    Thanks Brogan, I know how to bring up the inspection tool, but my coding skills are lacking, can you please give me an example?
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    You can see here how I have changed it to red.
    upload_2014-5-13_15-48-45.png

    So you would use this in EXTRA.css:
    Code:
    .resourceListMain
    {
    border-color: red;
    }
     
  5. PAPPACLART

    PAPPACLART Active Member

    Fantastic, will give that a go. This will help with future edits I can't find in the style editor.

    Really appreciate that Brogan. Many Thanks
     
  6. PAPPACLART

    PAPPACLART Active Member

    So to change the border colour to white in the thread list I have added this to extra.css but it does not work?

    .discussionListItem
    {
    border-bottom: 1px solid;
    border-color: white;
    }
     
  7. Brogan

    Brogan XenForo Moderator Staff Member

    You may need to increase the specificity or use !important.
     
    Amaury likes this.
  8. PAPPACLART

    PAPPACLART Active Member

    Thanks Brogan, sorry for the silly question but where do I put "!important."
     
  9. Brogan

    Brogan XenForo Moderator Staff Member

    Like this - border-color: white !important;
     
  10. PAPPACLART

    PAPPACLART Active Member

    Thanks Brogan, though still does not work for me. I think it may be the theme as from memory it was possible to change the borderc the style editor on the default theme. I will check with theme dev.
     

Share This Page