Issue Feature Rejected

#102373CE per Viewports

Muhammad Suleman 11/15/23, 08:48 updated 06/22/24, 05:26

Description

Option to:
- add different content per viewport
- simply don’t show CE on a specific viewport.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 2

  1. Garvin Hicking commented 11/28/23, 10:10

    Could you elaborate on the feature request a bit more?

    Viewports are more a thing of the frontend output, if I understand your intention correctly. Thus, you would need to use CSS viewport indicators to show/hide content. To specify, which content should be hidden or not, you could for example:

    • Create a custom backend layout and create columns per viewport, then in the frontend output use CSS to access these specific columns
    • Create/use a tt_content column to indicate viewport relation, so that in the frontend fluid you can attach CSS classes and show/hide them in different viewports

    If I completely misunderstood your intent, I’d be curious to know more about your idea! :-)

  2. Georg Ringer commented and changed status New Rejected 06/22/24, 05:26

    Hey,

    I am rejecting this issue. any viewport should must work with the same HTML, therefore this is not possible.

    as Ideas you can of course use e.g. the layout field or a custom field to just provide information to the frontend to set specific classes which then trigger the display/hide of content elements! be aware that from SEO this could be a bad habit

    however, the core won’t and can’t change there