-
AuthorPosts
-
February 12, 2016 at 12:28 am #581944
Hello,
Thank you for the fantastic theme.
Is it possible to display blog post grid view thumbnails in a hexagon shape, rather than a square?
i.e. thumbnails in the following grid will appear as a hexagon, not square.I am working on a grid in which thumbnail images are on the left and the slide content on the right.
I managed to make my thumbnails as hexagon in Chrome with -webkit-mask-image, however it works only in Chrome :(, not compatible with IE and Firefox.
Thanks in advance.container_wrap .avia-content-slider .slide-image { margin-right: 10px; float: left; width: 125px !important; background: none !important; border: none; } .container_wrap .avia-content-slider .slide-image img { position: relative; display: inline-block; width: 125px; overflow: hidden; text-align: center; -webkit-mask-image: url('/hex.png'); /* this is my hexagon mask 125px x 115px */ -webkit-mask-repeat: no-repeat; } .container_wrap .avia-content-slider .slide-content{ float: right; width: 65%; }-
This topic was modified 10 years, 1 month ago by
Post Manager.
February 12, 2016 at 8:43 am #582089February 12, 2016 at 8:56 am #582096Hello Rikard,
Thank you for your reply.
I was updating my original question with more details from my code.
Yes, I saw that example on the internet and tried to apply (along with many other solutions I found from internet)
However, for some reason I could not manage to do it.
I can not find proper id or classes to replace with my current css above.
I tried to replace #hexagon with .container_wrap .avia-content-slider .slide-content or .container_wrap .avia-content-slider .slide-content img, hoping it could work, but it did not.
I will really appreciate if you can direct me to right solution as I feel I am missing a very simple detail.February 14, 2016 at 8:02 am #582868Hi,
Could you provide us with a link to the site in question so that we can take a closer look please?
Thanks,
RikardFebruary 18, 2016 at 7:10 am #585199Hello again,
After playing with the codes for a while, I managed to show my thumbnail images as I expected.
Thank you again for the direction Rikard, İt sure helped.
You may mark this topic as solved if you wish.
Have a great day!February 19, 2016 at 5:21 am #585836 -
This topic was modified 10 years, 1 month ago by
-
AuthorPosts
- The topic ‘Hexagon Shaped Thumnail Images’ is closed to new replies.
