1. Dakota09
  2. Sherlock Holmes
  3. Free Templates / Extensions
  4. Thursday, 23 October 2014
  5.  Subscribe via email
Hello again, I am using the GridGallery module on my home page. Originally had it set up to show only 3 images, but then changed it to show 6.

When it shows two rows of 3 images, the second row is offset to the right about 3-4 pixels. Is this in .css or something else?

Site is http://www.dakotawebcreations.com

***NOTE**** - I noticed the same thing happening on the demo site here - http://www.joomla51.com/demo/0115/index.php/features/beautiful-grid-gallery

Thanks again!
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

To amend this issue could you try adding the following to the Custom CSS field of your tempates parameters...


.grid li.j51gridgallery:first-of-type {
margin-left: 5px !important;
}
.grid li.j51gridgallery:last-of-type {
margin-right: 5px !important;
}


By default the left and right margin of the first and last image is removed. Looks great when you have a single line of images however not so good when it wraps to a second line :blink:

Ciarán
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Thanks Ciarán, I tried this and noticed no difference using Firefox 33.0-haven't checked out other browsers yet though. I double checked what I added to the custom CSS and it matches what you provided. Thanks so much for your assistance! I may play around with it a bit though.
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Ok it was actually easier than I thought. In the module settings, I changed the vertical margin to 1 and "PRESTO" it works! Thanks again for all your help on this forum!!
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok