Center setting

in Download Manager Free

Viewing 11 posts - 1 through 11 (of 11 total)
Mar 6, 2024 at 12:38 am
#193623
Participant
R3ndy Nug
OP

Hi Admin,

Please help to adjust its position to a middle and wide position to suit the device used.
Any help you provide is greatly appreciated. Thank You.

`https://www.dataku.top/download/google-chrome-x64/

Mar 6, 2024 at 5:47 am
#193632
Moderator
Tahasin
Staff

Hello, R3ndy Nug

I hope you are doing well and thanks for contacting us.

Kindly check if this aligns with your requirement, here is the screenshot

Regards

Mar 6, 2024 at 6:15 am
#193634
Participant
R3ndy Nug
OP
This reply has been marked as private.
Mar 6, 2024 at 6:54 am
#193636
Moderator
Tahasin
Staff

Here is the HTML code you have to use inside your page template file,

<div class="wpdm-button-area mb-3 p-3 card">
<a href="#unlock" class="wpdm-download-link wpdm-download-locked btn btn-primary " data-package="3804">Download</a>

</div><ul class="list-group ml-0 mb-2">
<li class="list-group-item d-flex justify-content-between align-items-center [hide_empty:version]">
Version
<span class="badge">118.0.5993.89</span>
</li>
<li class="list-group-item d-flex justify-content-between align-items-center [hide_empty:download_count]">
Download
<span class="badge">6973</span>
</li>
<li class="list-group-item d-flex justify-content-between align-items-center [hide_empty:file_size]">
File Size
<span class="badge">103 MB</span>
</li>
<li class="list-group-item d-flex justify-content-between align-items-center [hide_empty:file_count]">
File Count
<span class="badge">1</span>
</li>
<li class="list-group-item d-flex justify-content-between align-items-center [hide_empty:create_date]">
Create Date
<span class="badge">1 September 2023</span>
</li>
<li class="list-group-item  d-flex justify-content-between align-items-center [hide_empty:update_date]">
Last Updated
<span class="badge">6 Maret 2024</span>
</li>
</ul>

Place this code inside the <div class="col-md-12">place the html code here </div> page template file, and the file resides here wp-content > plugins > download-manager > src > Package > views > page-templates > page-templates-default.php

Here is the screenshot with the download button,kindly check

Regards

Mar 6, 2024 at 7:14 am
#193640
Participant
R3ndy Nug
OP

When the plugin is updated, does the code not disappear? can you simplify the code on customization settings
Additional CSS?

Mar 6, 2024 at 7:54 am
#193641
Moderator
Tahasin
Staff

#1. Create {active-theme-dir}/download-manager/page-templates/
#2. Copy the file /download-manager/src/Packages/views/page-templates/page-template-default.php to newly created dir in #1
#3. Save

Here is the documentation

Follow this steps, so that next update of the plugin doesn’t erase your changes.

Mar 6, 2024 at 8:49 am
#193643
Moderator
Tahasin
Staff

You can also try this CSS code in your Additional CSS section and let me know if it works

@media (min-width: 768px) {
  .w3eden .col-md-5 {
    flex: unset;
    max-width: none;
  }
}
Mar 6, 2024 at 9:36 am
#193645
Participant
R3ndy Nug
OP

Yes the CCS code works and there is still one position not in the center, I attached the Screenshot.

Mar 6, 2024 at 9:38 am
#193646
Moderator
Tahasin
Staff

It’s because of sidebar, if you want to hide it
use this CSS code

#right-sidebar {
  display: none;
}
Mar 6, 2024 at 9:51 am
#193648
Participant
R3ndy Nug
OP

Perfect bro. Thank You.

Mar 6, 2024 at 10:09 am
#193650
Moderator
Tahasin
Staff

Glad to here that 🤗

If you find my assistance valuable, I would greatly appreciate your support with a 5-star review here

Regards

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

The topic "Center setting" is closed to new replies.