• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Make Existing Table Mobile Responsive

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Make Existing Table Mobile Responsive

This topic is: not resolved

Tagged: designing tips

  • This topic has 4 replies, 3 voices, and was last updated 7 years, 7 months ago by dimensionseo.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • August 14, 2015 at 2:13 pm #162407
    defree99
    Participant

    Is there any way to make an existing html table mobile responsive?

    http://doityourselfpestandweedcontrol.com/nebraska-service-center/

    I have several old tanles like this and I would rather not have to re-type all of them if possible.

    August 14, 2015 at 2:18 pm #162409
    Peaceless
    Member

    Hi!

    Braddalton helped me with my images and I assume it´s the same for tables. Wrap your table styling with


    @media
    only screen and (max-width: 780px)

    CSS

    }

    Layout – basic question

    kr,

    ?…sa

    August 14, 2015 at 2:28 pm #162410
    Peaceless
    Member

    putting 780px to the width you prefer of course

    August 14, 2015 at 2:35 pm #162411
    defree99
    Participant

    I'm using the Enterprise Pro theme.

    It's not working for me, but here's what I did:

    /* Tables
    --------------------------------------------- */

    @media
    only screen and (max-width: 680px) {
    table {
    border-collapse: collapse;
    border-spacing: 0;
    line-height: 2;
    margin-bottom: 40px;
    width: 100%;
    }

    tbody {
    border-bottom: 1px solid #ddd;
    }

    td,
    th {
    text-align: left;
    }

    td {
    border-top: 1px solid #ddd;
    padding: 6px 0;
    }

    th {
    font-weight: 700;
    text-transform: uppercase;
    }
    }

    August 15, 2015 at 6:44 am #162452
    dimensionseo
    Member

    Thanks for sharing these interesting tips! Really this will work for my designing work.


    http://www.greencoffeebean.co.in || http://www.dianaboluk.co.uk

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble