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

XF 1.3 Attachement thumbnail border?

Discussion in 'Styling and Customization Questions' started by Emil JaBo, Sep 12, 2014.

  1. Emil JaBo

    Emil JaBo Active Member

    Hi guys,

    I'm just wondering if there is a way to change the border that surrounds attachment thumbnails to another colour? Currently the border is white and it does not stand out very well on the background of my posts. Any ideas? :)

    screen-capture-2.jpg
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    EXTRA.css
    Code:
    .attachment .boxModelFixer.primaryContent
    {
        border-color: silver;
    }
     
  3. Emil JaBo

    Emil JaBo Active Member

    Thanks Brogan, prompt as usual.... How might I adjust that code to enter an RGB amount? :)
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Change silver to the rgb code.
     
  5. Emil JaBo

    Emil JaBo Active Member

    Sorry, total noob alert :D

    When you say rgb code do you mean:

    border-color: silver; 67, 21, 83

    or

    border-color: silver; R67, G21, B83.

    Sorry to be a pain but what is the exact code so I can just change the individual RGB values to my desired colour. :)
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

  7. Emil JaBo

    Emil JaBo Active Member

    Thanks, so like this:

    Code:
    .attachment .boxModelFixer.primaryContent
    {
        border-color: rgb(67,71,53);
    }
    Which I place at the bottom of the EXTRA.css template?

    I've done that, refreshed and nothing has changed:

    screen-capture-3.jpg
     
  8. Brogan

    Brogan XenForo Moderator Staff Member

    It works fine on a default style.
    So either it's a style issue or you have some problems with your EXTRA.css template.

    Add it to the top of the template.
    If it works, you have malformed code in the template somewhere.
     
  9. Emil JaBo

    Emil JaBo Active Member

    Thanks for trying, but moving it to the top still didn't solve the problem. Probably to do with the custom theme. I'll live with it until I can get something done about it. Thanks :)

    screen-capture-4.jpg
     
  10. Brogan

    Brogan XenForo Moderator Staff Member

    If it's a third party style, post in the resource thread for support.
     
    Emil JaBo likes this.

Share This Page