Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    I’m not really sure what you mean, as I can’t reproduce this.
    Can you maybe play with the web developer tools in your browser to find out more about this?

    Regards,
    Tobias

    Thread Starter poojajignesh

    (@poojajignesh)

    I want to stack the columns in phone but the text is overlapping i was able to that for another websitehttps://acre.bid/land-auctions/ with this code but its not working for https://panamaproperty.bid/current-sales/

    I am using the following code
    @media only screen and (min-device-width : 320px) and (max-device-width : 568px) and (orientation : portrait) {

    td {
    width: 100%;
    display: block;

    }

    }

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    this CSS appears to be applied fine for me.
    I tested in the mobile emulator in Google Chrome.

    Regards,
    Tobias

    Thread Starter poojajignesh

    (@poojajignesh)

    it doesn’t work on iphone 6 s

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    sorry, I don’t have one to test ??

    Regards,
    Tobias

    Thread Starter poojajignesh

    (@poojajignesh)

    I am using the following code and it is working on the landscape mode and not in portrait do i Use max-width or max-device-width with @media only

    @media only screen and (min-width : 320px) and (max-width : 2208px) and (orientation : landscape) {

    tbody,
    thead {
    float: left;
    }

    th td {
    display: block;
    }

    td {
    float: left;
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
    }

    .tablepress-id-1 .column-4 {
    width: auto;
    }

    .tablepress-id-1 {
    width: auto;
    height: auto;
    }

    }

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    well, I guess that code is not working in portrait, because you are telling it to, in the first line ??
    Just remove

    and (orientation : landscape)

    Regards,
    Tobias

    Thread Starter poojajignesh

    (@poojajignesh)

    Thanks it helped but what is the max-device-width i should put

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    you shouldn’t need max-device-width. Setting max-height: 768px should be enough to target phones with that piece of CSS.

    Regards,
    Tobias

    Thread Starter poojajignesh

    (@poojajignesh)

    Thank you great support

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ?? Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Adjust the width of the table’ is closed to new replies.