• Hi, i have tried to modify the “list” theme css with an easy code to have a gray light border:

    .amazon-products-container-list {
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
    border-style: solid;
    border-radius: 15px;
    border-color: lightgrey;
    padding: 30px;
    border-width: 1px;
    }

    If I try to apply the modification from Chrome DevTools works fine, but when I modify the style.css file it doesn’t work. To modify the file I have to try to edit the file from my hosting file editor or upload and overwrite the style.css.

    In attach the Style.css modified and the website path: gerardopandolfi.com/wp-content/plugins/amazon-auto-links/template/list/style.css  

    Style file (saved in txt to upload): https://gerardopandolfi.com/wp-content/uploads/2024/08/style.txt

    Thanks

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author miunosoft

    (@miunosoft)

    Hi,

    Could it be that you have a plugin that minifies stylesheets and they are not updated after you made the modification to the file?

    Having said that, it’s not a good idea to edit the file directly as the change will be lost after updating the plugin.

    I suggest you use your theme functionality to add custom CSS rules. Most themes support that.

    Thread Starter Gerardo Pandolfi

    (@gerardopandolfi)

    Thanks for the suggestion!

    I have another question: I want to create a copy of the list theme and change the CSS, so i can use the original theme and the modify version. Is it possible?

    Thanks

    Plugin Author miunosoft

    (@miunosoft)

    It seems you want your custom template. In that case, you want to use a plugin to load your template.

    Here is an example template plugin. This should be easier than writing one from scratch. Modify the directory name of the sample template and edit the readme.txt file inside it. Then you have your template.

    This way, it won’t be affected by the plugin or theme updates.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.