Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-103942

As a developer, want Section to be configurable either section or div tag for Content Page


    • Type: Feature Request
    • Status: Needs More Information
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: DXP SP1
    • Fix Version/s: None
    • Component/s: Pages > Page Editor
    • Labels:



      In Section Builder, We want the ability to configure the padding top, left, right and bottom side for each breakpoints.


      1. Login as Administrator (Username : test@liferay.com, Password : test)
      2. Open Site Builder -> Pages
      3. Click Add button
      4. Create new Content Page, populate page name (arbital), and click Add button
      5. See the right bar where there are several buttons, click Section Builder
      6. Once Section Builder is shown, Click Basic Components
      7. Select Button component, then Drag it to the Page
      8. Open Layouts panel, select Single Column Layout, and Drag it to the Page
      9. Again, select Button component, then Drag it inside the Single Column Layout

      Actual result: 

      Both Button component is wrapped by <section> tag.

      Expected result: 

      As a developer, wants to have the Options choose if it's <section> or <div>.

      Use Case for Improvement: 

      From Semantic Web standpoint, a section need to have a title. However, it's not always the case to build a page. For example, a component of customer logos for a corporate site. A developer may just want to wrap the markup with div tags, not section tag as it does not need a title.

      I do not fully understand the philosophy of Content Page correctly. This suggestion may be irreverent. If that is the case, please let me know what is the intended design (best practice) for that case.


          Issue Links



              • Assignee:
                support-lep@liferay.com SE Support
                johanes.rulistianto Johanes Christian Rulistianto
              • Votes:
                0 Vote for this issue
                3 Start watching this issue


                • Created:


                  Version Package