Hi Atelier support team!
Enabling comments in portfolio items, the div that contains comments, in the bottom, occupies the entire width of the page and leaves no margin or left or right. It looks very bad. It will be solved by adding classes:
col-sm-8 col-sm-offset-2
to the comments div class-wrap
div within the single-portfolio-standard
class.
I tried using this code in section Theme options | Custom CSS / JS | Custom JS, but I think it does not work because when you run even there is no DOM object.
var d = document.getElementByclassName("single-portfolio-standard");
if (d !== null){
var e = d.getElementByclassName("comments-wrap");
id (e !== null){
e.className += " col-sm-8 col-sm-offset-2";
}
}
I need a definitive solution. I can not rewrite code every time you upgrade the plugin framework swift. Maybe a shortcut, until the solution will be deployed, could be to modify php/js archives, which I am able to do it, please let me know what archives.
Thank you very much!