What Do You Need In The Xf2 Xengallery Version? Vote for your choices here: http://www.sonnb.com/threads/what-do-you-need-in-the-xf2-xengallery-version.1539/

Question Replace Drop Shadow With Border?

Discussion in 'XenGallery' started by moshbit, Nov 16, 2013.

  1. moshbit

    moshbit Authorized Member Authorized

    hi, i was able to remove the drop shadow from around the pictures by removing the 'shadow' attributes in the style properties, but now now i'm trying to add a white border around each picture instead of a shadow. i drew a white square around the picture in the middle to demonstrate what i mean:

    whitesquare.png

    i'm guessing this can be done easily with a 'border' css attribute, but im not finding the correct place to put it.
     
  2. sonnb

    sonnb Administrator Staff Member

    Yes, you can change it here: /admin.php?styles/master-style.0/style-properties&group=sonnb_xengallery_grid
     
  3. moshbit

    moshbit Authorized Member Authorized

    hmm, yes, but there are a lot of sub categories there :D

    i tried plugging it into a few, but nothing showed up. can you tell me specifically which of these i need to put the css into?
     
  4. sonnb

    sonnb Administrator Staff Member

    It is Grid Item
     
  5. moshbit

    moshbit Authorized Member Authorized

    ok, after fiddling around with it for a while, i figured out that the !important css attribute is needed to override whatever else is going on. so now in the extra css box of the grid items area i have added:

    Code:
    border: dotted #525151 1px !important;
    and now my grid looks perfect:

    bordersuccess.png

    it's subtle, but definitely helps define it against the background for dark themes :D
     
    sonnb likes this.
  6. sonnb

    sonnb Administrator Staff Member

    It is not possible to match all styles. I am glad that you found your own solution.
     
    moshbit likes this.

Share This Page