web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / **BUG** Column gap bre...
Power Pages
Unanswered

**BUG** Column gap breaks multi-column layouts

(0) ShareShare
ReportReport
Posted on by 455

I seem to have found a bug with the column gap setting in Power Pages. I have a Power Pages app that uses the "blank" template. I have a two-column section and have added a Column Gap of 15px. In the Editor, this is how the results appear:

 

arpost_1-1685645781898.png

 

However, when viewing the same column section on the site itself, the gap apparently forces the flex items to wrap to the next line:

arpost_2-1685645900203.png

 

When I put the column gap back to 0px, the section shows as expected but without the column spacing.

 

arpost_3-1685646036814.png

 

Anyone know how to fix this issue?

Categories:
I have the same question (0)
  • Inogic Profile Picture
    1,135 Super User 2025 Season 2 on at

    Hi @arpost , 

     

    As per our understanding, you are looking for column gap of 15px in between two columns, 


    There is another way to achieve this using CSS in Power Pages, you can try that way with below steps:
    Step 1: Navigate to the CSS file for the Respective Web page. For this you can Click on Edit Code as shown in below screenshot,

     

    Inogic_4-1685955489498.png


    Step 2: Add below lines of code in CSS file,


     .container .columnBlockLayout:nth-child(1){

        width: 47% !important;

     }

     

     .container .columnBlockLayout:nth-child(2){

        width: 47% !important;

     }

     

    Inogic_3-1685955472368.png

     

    Step 3: Click on SYNC to save changes, 

    Inogic_2-1685955451700.png


    Also, you can see the Column gap is set as 15px.

    Inogic_1-1685955434672.png

     

    This will result as follows:

    Inogic_0-1685955423119.png

    If this answer helps, please mark it as an Accepted Solution so it would help others to find the solution.


    Thanks!

    Inogic Professional Service Division

    An expert technical extension for your techno-functional business needs

    Power Platform/Dynamics 365 CRM

    Drop an email at crm@inogic.com

    Service:  http://www.inogic.com/services/ 

    Power Platform/Dynamics 365 CRM Tips and Tricks:  http://www.inogic.com/blog/

  • arpost Profile Picture
    455 on at

    Thanks for the reply, @Inogic. Doesn't that mean, though, that the values would have to manually updated in the CSS file if ever section/column settings change (e.g., it becomes a three column layout, I change margin/padding settings?

  • Fubar Profile Picture
    8,338 Super User 2025 Season 2 on at

    I am guessing that your adding padding is making the width too large for the current max width setting (these widths are usually set using media tags in the out of the box CSS) and so it is doing responsive design and repositioning the 2nd column (like if you dragged your browser window narrower).  If this is the case then you will need to make adjustments to the column widths or the media tags, so the width with padding fits within the max width of the respective media tags

     

    An alternative may be to try adding padding or margin to the inside of the Columns rather than to the outside (but this may depend on what you need)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard