• I’ve set up a gallery in wordpress, which can be seen here. Now, i’ve tinkered with every single (to the best of my knowledge) part I can find to adjust the width and the colour of the border, but can’t seem to alter a thing. Using chrome i used the element inspector which showed the css that was applied to the images&borders, showing that the colour was #cfcfcf which can be seen here. So, i did a search within all the relevant style sheets, but to no avail, it couldn’t find the hex value. I’m pretty confused to say the least.

    If it’s any help I used NextGen Gallery and edited it so I can link the thumbnails to an external URL as opposed to the image.

    Any advice would be a life saver,

    Thanks for your help ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • Can you post a link to the page so I can inspect elements for myself? ?? It could be that the gallery generates the styles from somewhere and you can change them in the settings or so?

    Thread Starter iamboston

    (@iamboston)

    Hey there Bas, thanks for the reply!

    Absolutely, it’s valuableink.com

    Any advice is greatly appreciated

    Thread Starter iamboston

    (@iamboston)

    oops, i forgot to mention, the gallery is under “Press” in the main nav

    I think this is the line

    #gallery-2 img {
    border: 2px solid #cfcfcf;
    }

    Perhaps try adding this line into your styles.css

    #gallery-2 img{border:2px solid #ff0000 !important;}

    If it works, it should change the border to red. If it works then just change it to your desired color code.

    Thread Starter iamboston

    (@iamboston)

    Gday RavingCode.

    Mate, that worked a treat! Thanks so much for the reply! You’re a life saver!
    I appreciate you taking the time to help me out, thank you!

    Cheers,
    Aus.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘For the life of me, I can't change the border colour/px size’ is closed to new replies.