css codes in download

Viewing 10 posts - 1 through 10 (of 10 total)
#177527

saeid
Member

hi everybody. i have a problem which some css codes shows under download link, i dont know what is it and how to solve that.

sample of unwanted code shows under download:

.well.c2a3 .btn { padding: 11px 30px; font-size: 11pt; } .well.c2a3 .media-body { font-size: 11pt; } .well.c2a3 .wpdm_icon { height: 42px; width: auto; }

sample link :

آنتی‌ بادی Amyloid A (MC1)


under : دانلود کاتالوگ tab

#177528

Tanvir
Moderator

Hello Saeid,

Thanks for contacting WPDM Support forum.
As you have used a cache plugin, the CSS could come for that reason. In this case, clear cache or remove cache plugin to check if the issue still persists.
Also The CSS could come from the link template you used that is Call to Action 3.
If you tried editing that link template, check if the codes are there.

After checking and removing, if the issue still persist, please provide temporary admin access in a private reply.

Thanks

#177529

saeid
Member

thank dear tanvir, i have cheked my wp rocket plugin is disable. i cant remember that edited this template but how can i change or rewrite it by original codes?

#177531

Tanvir
Moderator

Hello,

You can try changing page template and link template of related downloads to check if the issue persists.
If you are in free version of WPDM you can’t edit link template/page template from wordpress dashboard, in free version, those need to be edited directly from template files. Not sure if you did this.

However, just follow my suggestions and let me know if the issue persists. If it is not solved, please provide temporary admin access in a private reply.

Thanks

#177533

saeid
Member
This reply has been marked as private.
#177549

Tanvir
Moderator

Hello Saeid,

Found the issue in link template. There was wrong template id of link template. You can check here
I have edited that correctly which solved the issue.

Thanks

#177552

saeid
Member

thanks for your great support. is it possible to assign 1889 template id to all products? i have about 400 product which has this problem 🙁

#177566

Tanvir
Moderator

Hello,
You can’t bulk update all from WPDM. You used the shortcode in a input of woocommerce. So you have to manually update all the products or you have to use something to bulk update in Woocommerce. Also, you can update that part from database from phpmyadmin. Maybe you updated WPDM from a very old version. That caused the issue.

Thanks

#177569

saeid
Member

thanks, the last question, where can i get the correct shortcode of files? i mean the link template for files, the default shortcode in fles list is not suitble/works for that download tab in product

#177576

Tanvir
Moderator

Hello Saeid,
Glad to see you again.

Here is the ids of link template that are used.
To select any download file you have to use the post id of that file can be found here in the link.
In the example package you used the Call to Action 3 link template and the post id of the file is 1889

Thanks

Viewing 10 posts - 1 through 10 (of 10 total)

The topic ‘css codes in download’ is closed to new replies.