- This topic is empty.
-
AuthorPosts
-
September 1, 2015 at 11:57 am #207445
PixelPascal
ParticipantHello,
Om this page: http://www.pixeldesigns.nl/portfolio/ all the featured images (logo’s) are coming back in the portfolio category after clicking on a category. I am looking for a way to remove them in the category part.
I like to see alle the logo’s like dimgrey on lightgrey in the portfolio area. After clicking on a category i want to see the logo in color. This should be another image of the logo now with the colors.
Thanks in advance!
Pascal.
September 2, 2015 at 6:45 am #207465Atelierbram
Participant… all the featured images (logo’s) are coming back in the portfolio category after clicking on a category.
This is what is commonly referred to as filtering (with javascript)
I am looking for a way to remove them in the category part.
So?
I like to see alle the logo’s like dimgrey on lightgrey in the portfolio area. After clicking on a category i want to see the logo in color.
You may want to search for CSS-Filters
This should be another image of the logo now with the colors.
You could use a so called “sprite-image”, but doing it with css-filters one can use just the one image
September 5, 2015 at 4:26 am #207666PixelPascal
ParticipantHi,
Thanks for responding. I am looking for a way to exclude the featured images from the portfolio categories.
Thanks!
September 5, 2015 at 8:47 am #207671Atelierbram
ParticipantSorry but you have to spell it out for me here, I’m confused: which images exactly do you mean by featured images …,
September 5, 2015 at 8:55 am #207672PixelPascal
ParticipantHi,
The images on this page http://www.pixeldesigns.nl/portfolio
These images should stay there. But not coming back in the gallery of the portfolio category.
In other words, if you click on a logo a gallery will be shown with a masonry layout. You’ll see that the featured image is coming back there. And i like to disable this.
Thank you in advance !
September 5, 2015 at 9:12 am #207673Atelierbram
ParticipantOnly now do I truly understand what you mean, so well, targeting the parent div and setting
display: none
will not work, for Masonry has everything absolute positioned, so that will leave a gap. This leaves you with two options: either javascript or PHP. With javascript, combined with Masonry, maybe set an id on that featured image parent container, and then use the:not()
selector to exclude it. -
AuthorPosts
- The forum ‘Back End’ is closed to new topics and replies.