Modal pop up – Button to close the pop up

Posted in: Newspaper
Post count: 234

Hi guys,
I have created a pop up using the modal popup. I am using a page id on which there are 2 buttons: “Yes I want a discount” and “no thank you”. Could you please tell me how I can close the popup when pressing the “no thank you” button?

It would be nice to add that info as part of your very useful doc.

Thanks a lot!

Post count: 234

PS: my pop up appears fine on the home page.
How do I display this same modal pop up on every page of my website?
Thank you

Post count: 35449

Hi,
You just need to add to that button the class:
tdm-pmh-close
https://i.imgur.com/24OlVXc.png

To have the pop-up on all devices, you should set it in the footer, not in the header. Also, you can check each viewport in the part from the tagDiv Composer to see how it is looking.

Thank you!

Post count: 234

Thank you so much Calin, it works like a charm!

I have 2 last questions if you don’t mind:

Do you know how I can remove the rating to show up at the bottom of the pop up? https://tinyurl.com/mvmred8h

What tool do you recommend for your theme to displaying Star Ratings in Google Search Results? I am using the plug in kk star ratings but I am not sure if it is ideal.

Thanks a lot.

Post count: 35449

Hi,

In case you are referring to this one – https://i.imgur.com/sraPNfK.jpeg it is coming from a plugin, I think it is this one – https://wordpress.org/plugins/kk-star-ratings/ maiby you can exlude it from plugin options, if not you can use a css –
.tdb-menu-item-text .kk-star-ratings.kksr-align-center {
display: none;
}

You can use the option from the theme – https://forum.tagdiv.com/newsmag-reviews/

Post count: 234

Hi Calin, thanks for your help!
You are right for the plug ing.
I have added your code to the custom code (from the theme panel) but the stars are still showing on the pop up. Would you have any other idea.

About the newsmag review, does it shows the stars on google when users are searching for an article?

Thanks a lot

Post count: 35449

Hi,

For me the stars from the menu no longer appea,r so it should be ok now https://i.imgur.com/fQilNMG.png

Sorry, the link was from Newsmag not newspaper, but the settings and options are the same – https://forum.tagdiv.com/reviews-2/, the results should be:
https://demo.tagdiv.com/newspaper_pro/td-post-laptop-with-128-bit-processor-32gb-of-ram-and-24mp-front-camera/ https://i.imgur.com/AvWxUHn.png

Thank you!

Post count: 234

Hi Calin, sorry I didn’t explain properly, I need to remove the stars from the modal pop up, as you can see here : https://imgur.com/a/5BMIF71 on this page: https://tinyurl.com/mvmred8h

Thanks for the documentation about the rating with newsmag, I will look into it seriously.

Post count: 35449

Hi,
Please replace the above css with this one:
.kk-star-ratings.kksr-align-center {
display: none;
}
.tdb_single_content .kk-star-ratings.kksr-align-center {
display: flex;
}

This css should hide the stars everywhere except the post content.

Post count: 234

You are the best! Thank you so much Calin.
Have a great day.

Post count: 234

Hi Calin, I am testing the Newspaper feature by following your tutorial.
I have created a post, I have enabled the review but just to make sure that I understand correctly, it is a hardcoded review system, right? It doesn’t allow visitors to review your post by clicking on stars. Is that correct?
Is it possible with tagdiv to allow visitors to rate a post?
Thank you Calin.

Post count: 20688

Hi,

If you want to create and display a review in a post, then it can be done like so https://forum.tagdiv.com/reviews-2/ These are reviews that you create.

Or if you want visitors to review your post, then it can be done like this https://forum.tagdiv.com/user-reviews/ You create criteria and the visitors can rate your post.

Or you can use both these types of reviews if you want. Please let me know if you have more questions.

Thanks.

Post count: 234

Thank you so much Simion, this is exactly what I was looking for.

Viewing 13 posts - 1 through 13 (of 13 total)
The forum ‘Newspaper’ is closed to new topics and replies.