Home › Forums › Pro Support › Target featured image
- This topic has 8 replies, 2 voices, and was last updated 4 years, 10 months ago by
Tom.
-
AuthorPosts
-
November 20, 2018 at 8:45 pm #6502
Allan
ParticipantHi Tom
I solved my custom field query, thank you, but I have a problem with positioning the Sold sign on properties. The field value with the sold information is brought across just fine and I assume the php is working. The intention is to allow the client to add and remove Open House and Sold labels on any of the properties in the grid.But as you’ll see from the example https://dev.allanjackson.net/ the label is positioned midway between the two posts when it should be on the left-hand one. I can’t seem to identify the correct selector.
The CSS that applies to the label is added with Simple CSS on the page:
.wp-show-posts-image.wpsp-image-center { position: relative; text-align: center; font-family: Arial, Helvetica, sans-serif; font-size: 18px; } .centered { color: white; border-width: 0px; padding: 0px 10px; background-color: red; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
The PRO version of WPSP is great BTW. Might I just suggest the addition of Instagram sharing, a sharing label and an easier way to add custom fields.
November 20, 2018 at 9:16 pm #6503Allan
ParticipantP.S. How would I display items in the New Category and then in a different list all others excluding new. Thanks very much.
November 21, 2018 at 1:30 pm #6514Tom
KeymasterHi there,
Try adding this CSS:
.wp-show-posts-inner { position: relative; }
Not too sure what you mean by your second question. Can you explain a bit more?
November 23, 2018 at 10:46 pm #6554Allan
ParticipantHi Tom
What I mean was how to display posts from one just category in a list and, in a different list, how to exclude one category. Thanks very much.November 24, 2018 at 6:03 pm #6597Tom
KeymasterWhen you’re creating the first list, only choose that one category under the “Terms” area.
Then in the next list, choose all of the categories except for the one you chose earlier 🙂
November 25, 2018 at 9:02 pm #6636Allan
ParticipantHi Tom
Thanks for this. The problem seems to be that the plugin isn’t picking up the categories in the taxonomy I created. As you can in the following it knows that there is a taxonomy but it doesn’t display the terms.
https://dev.allanjackson.net/wp-content/uploads/2018/11/tom1.jpgThe terms are there as you can see from the form for editing the listings
https://dev.allanjackson.net/wp-content/uploads/2018/11/tom2.jpgIn addition to your stuff, I’ve only got Code snippets and Pods running
https://dev.allanjackson.net/wp-content/uploads/2018/11/tom3.jpgNovember 26, 2018 at 8:39 pm #6672Tom
KeymasterAre there any published posts attributed to those terms? I don’t believe they’ll show up in the WPSP settings if there’s nothing in them.
November 26, 2018 at 10:51 pm #6679Allan
ParticipantAha!!! Thanks very much, that’s just right. Never would have thought of it myself.
November 27, 2018 at 5:30 pm #6688Tom
KeymasterGlad I could help! 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.