New Landing How can we help? Atelier Portfolio Comments div 100% wide

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Atelier
  • #293082
    rcarrascope
    Member
    Post count: 13

    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!

    #293102
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Add this to your custom css:

    .comments-wrap {
      max-width: 1140px;
      margin-left: auto;
      margin-right: auto;
    }

    – Kyle

    #293196
    rcarrascope
    Member
    Post count: 13
    This reply has been marked as private.
    #293232
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    I will let the developer know so we can fix it for the next update

    Thanks

    Kyle

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

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register