Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #1359046

    Hi,

    Some time ago we opend a thread about the width of the pages, we closed it because your team provided a solution that worked perfectly, but now we still have a problem on the width of one page : https://www.edunao.com/scorm-une-norme-defficacite/ (password in private content)

    For memory, here is the url of the older thread: https://kriesi.at/support/topic/how-to-add-margins-or-padding-on-the-left-and-right-sides-of-the-content-only/#post-1356038

    Can you help?

    Thanks!

    #1359068

    Hey cyrilbedel,

    What exactly are you looking to alter on the page you linked to?

    Best regards,
    Rikard

    #1359461

    Hi Rikard,

    We want to keep the width of the header (menu bar) and the width of the footer to 1310px.

    And we want to set the width of the main content of the pages (the body) to 917px, like ont the other pages of the site.

    Best regards,

    Olivier

    #1359463

    Hi Olivier,

    Thanks for contacting us!

    You are using Grid Row element on your page to display your content on this page. Grid Row is a full width element and it does not use the container width you set so please use Column elements instead :)

    Best regards,
    Yigit

    #1359481

    Hi Yigit,

    Thank you for your answer.

    I tried to use column elements in the first place but the result doesn’t fit with what the designer wants.

    Isn’t there a mean to force the Grid Row element not to be in full width trough additional CSS?

    Best regards,

    Olivier

    #1359495

    Hi Olivier,

    Regular columns and Grid Row columns should result in basically the same layout, with the difference that the Grid Row is full width. Could you create a test page with regular columns, so that we can see the problem you are getting when you are using them please? We can’t really know what your designer wants unless you tell us, or post a screenshot highlighting your intentions.

    Best regards,
    Rikard

    #1359498

    Hi Rikard,

    Thank you for your answer, here is the design wanted by the designer :
    https://xd.adobe.com/view/ba458149-5a98-41f6-975a-3701e4f6b322-ef16/

    Does it help?

    Best regards,

    Olivier

    #1359530

    Hi,

    Thanks for that. You should be able to achieve something similar if you use 1/1, 1/5 and 4/5 column elements. Please try that out.

    Best regards,
    Rikard

    #1359566

    Hi Rikard,

    My problem is how to create the column in full height on the right side of the design (the title of the column is “Nos plugins”) by using column elements?

    Best regards,

    Olivier

    #1359576

    Hi,

    Thanks for the clarification, I didn’t realise that you had created the sidebar manually. Is there a particular reason as to why you need to create it manually? Wouldn’t the normal sidebar functionality work for you?

    Best regards,
    Rikard

    #1359578

    Hi,

    The reason I created the sidebar manually is that we need a sidebar only on this page, not on the other pages of the site, so I cannot use WordPress’s sidebar options.

    And what if I keep on using the Grid Row element on this page and we just create an exception in additionnal CSS for it? Sort of:

    grid-row-container #main .container {
    max-width: 917px !important;
    width: 917px !important;
    margin: auto;
    float: none;
    }

    Could it work?

    Thanks again and best regards,

    Olivier

    #1359584

    Hi,

    Thanks for the clarification, I understand your problem now. Please try this CSS as well:

    .page-id-15087 .av-layout-grid-container {
        width: 917px;
        max-width: 917px;
        display: table;
        margin: 0 auto;
    }

    Best regards,
    Rikard

    #1359590

    Hi Rikard,

    Thank you very much, it works! have a look here: https://www.edunao.com/scorm-une-norme-defficacite/ (the password is: Edunao2022

    The only problem I still have is an horizontal border at the bottom of the Grid Row container that is not supposed to be there. Can you help or do I need to open a new thread for this?

    Best regards,

    Olivier

    #1359594

    Hi,

    Please try this CSS as well:

    .page-id-15087 .container_wrap {
        border-top-style: none;
    }

    Best regards,
    Rikard

    #1359595

    It works, thanks again!!!

    Best regards,

    Olivier

    #1359603

    Hi,

    Great, I’m glad that we could help. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

    #1359609

    Yo can close the thread, thank you so much Rikard!

    Best ragards,

    Olivier

    #1359614

    Hi,

    Thanks for letting us know, I’ll close this thread for now then. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 18 posts - 1 through 18 (of 18 total)
  • The topic ‘Width of the pages’ is closed to new replies.