Archived topic
Dispatch Demo - Error with wpsp-card class
7 replies · Started by Raul on January 25, 2021
Hi,
there is a problem with your dispatch demo. If users use 2 times the class wpsp-card it shows only one of them, for example
<div class="wpsp-card">[wp_show_posts name="screenshots"]</div>
<hr>
<div class="wpsp-card">[wp_show_posts name="videos"]</div>
It will show only videos and not both! Maybe an error in CSS code?
Hi there,
can you share a link to where we can see the problem.
You cannot see it, this is the problem.
<div class="wpsp-card">[wp_show_posts name="screenshots"]</div>
works. But if I use it twice only one of that will work.
If i can see the website then maybe i can tell what the problem is.
I discovered why, it's because image has to be over the title. This theme is a little bit more complicated than other themes but I like it generally because if you know how you can do a lot of things. Only the way of how is a problem. For example if I create some new "WP Show Post" I can use html-widget and also WPShowPost Widget. But I use html because then I can put other code inside like a header with css.
One more question: If I change my content-link-color it also changes the link color of my headers and date. Can I do them all separatly? I want black link color and only the links on my single-post-content orange.
Hi Raul,
For the link color, try this CSS to make single post content link orange:
.single-post .entry-content a {
color: orange;
}
Let me know :)
thanks, this is it :)
No problem :)