0
Welcome Guest! Login
0 items Join Now

SOLVED Hide text (vs module) in mobile view

    • RobNob's Avatar
    • RobNob
    • Rocketeer
    • Posts: 75
    • Thanks: 0

    SOLVED Hide text (vs module) in mobile view

    Posted 10 years 2 months ago
    • I was curious if there was a class suffix that i could add to the text of my module to hide during mobile/tablet view?
      In mobile view the text is too long and comes outside the module.
      Thank you,
    • Last Edit: 10 years 2 months ago by RobNob.
    • David Goode's Avatar
    • David Goode
    • Preeminent Rocketeer
    • Posts: 17058
    • Thanks: 890
    • Web Designer and Host

    Re: Hide text (vs module) in mobile view

    Posted 10 years 2 months ago
    • Hi there,

      Simply wrap the text inside span tags...

      <p>Very long winded text goes on and on <span class="hidden-phone">so I am hiding this bit on a phone because it is soooo boring</span> so it much shorter on a phone!</p>

      If this resolves your problem then please edit your first post in this thread by adding [SOLVED] at the start of the title and click on the icon and select the 'tick' icon. This lets the moderators know that it can be moved to the solved section.

      Thanks for your cooperation :)
    • The following users have thanked you: RobNob


    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information

Time to create page: 0.053 seconds