Tagged: ,

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #892899

    Greetings,
    Currently, the text in a 2 column grid row is set to to align either left or right. I want that same text to be centered, but only when viewed on a mobile device. Please help. Thanks!

    You can see the grid row at the bottom of the page being used as the socket.
    http://www.wildassociates.net

    #893146

    Hey JPOsteen,

    Please, can you send a screenshot of the problem?

    Best regards,
    John Torvik

    #893157

    You’ll notice that at the bottom of the screen the last 2 lines (menu & site by) are not centered. I want them to be centered only on mobile screens.

    #893168

    Hi,

    Try adding this css code in Quick CSS (located in Enfold > General Styling):

    #footer_menu .avia_textblock p {
        text-align: center !important;
    }

    Let us know if this helps :)

    Best regards,
    Nikko

    #893443

    @Nikko
    Thanks for trying, but it didn’t help. Also, since I only want the text to centered on mobile screens, shouldn’t “@media only” be included in the CSS?
    _________
    Update… I was able to correct the problem by deleting some other text in the Quick CSS area… and by tweaking the code to:

    @media only screen and (max-width: 1024px) { #footer_menu .avia_textblock p {
    text-align: center !important;
    }}

    #893482

    Hi,

    I’m glad you got this corrected. Did you need additional help, or shall I close this thread?

    Best regards,
    Jordan Shannon

    #893565

    You can close the thread. Thanks!

    #893615

    Hi,

    Thanks for letting us know. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘How to center text in Grid Row only on mobile device?’ is closed to new replies.