Hello, I’ve added the filter to allow custom css to be added to elements, however I can’t seem to figure how to apply the css to this specific portfolio item, and not also the rest on the page, under a different masonry element.
I have a page setup with a single portfolio item shown at the top, which will be changed out every day, and there is also another masonry element on the page (below the first) that shows about 10 items.
I would like the two of these masonry post to have different css applied to the figcaption area, as I would like the single item to be showcased with a vertical text area on the left, and then the other masonry element will have the default bottom text area.
I’ve already gotten the CSS taken care of for how to make it look correct, however when I apply the code, it affects all of the portfolio elements and not just the featured. (which I’ve applied a custom css class name to.)
Any advice is appreciated.
Perhaps you could use the :nth-child() pseudo selector. Send us a link to your page so we can take a look. You can set your reply as private if you wish.
Thanks for the reply. You can find the info below, I’ll have to play around with that selector and see if I can get it figured out.
can you provide us admin access so we can have a deeper look? then we can check which custom css class you are using for your masonry elements. Post login details here as private reply.
Thanks for the reply, I was actually able to find a workaround by just using a different posts-pulling element and adjust the design of that to how I wanted.
The topic ‘Specific CSS class added to portfolio figcaption?’ is closed to new replies.