• altcointrader

    (@altcointrader)


    Hello Tobias,
    Hope everything is okay with you, and it is running as it should.

    I have a question which you probably can solve best.

    Is it possible that all columns have the same width?

    When I switch between the 3 tables, each width of the columns in the table is somewhere else. I would like to have this consistent, is that possible?

    Best Regards from Vienna :))

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Yes, that’s possible, by adding some CSS code. You will need to define one for each column, and then add that to the “Custom CSS” field. Please see https://tablepress.org/faq/column-widths/ for an example.

    Regards,
    Tobias

    Thread Starter altcointrader

    (@altcointrader)

    Hi, there is no trouble, your support is everytime great.

    Before I wrote you, I have already discovered this page and tried this code:

    .tablepress .column-1 {
    	width: 16.6px;
    }
    
    .tablepress .column-2 {
    	width: 16.6px;
    }
    
    .tablepress .column-3 {
    	width: 16.6px;
    }
    
    .tablepress .column-4 {
    	width: 16.6px;
    }
    
    .tablepress .column-5 {
    	width: 16.6px;
    }
    
    .tablepress .column-6 {
    	width: 16.6px;
    }

    Unfortunately the width is still different when I switch up between the tabs “Anstehend” and “Laufend” and “Abgeschlossen”

    Did i somthing wrong? :/

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    it seems that you are using a plugin to minimize/concatenate CSS files. You might have to flush that plugin’s cache, so that your changes to the “Custom CSS” are taken into account.

    Also no that you will probably not get all columns to have the same width (per table), because the content in them differs so much.

    Regards,
    Tobias

    Thread Starter altcointrader

    (@altcointrader)

    Omg, i did somthing wrong..I’m sorry, I’m still a beginner. I wrote px instead of %
    the problem from above is solved, thank you!

    1st new question:
    I still have a question, it is possible to indicate a border at the columns? a line that goes down?

    An example would be this calendar:
    https://ico-listed.com/

    2nd question:
    In addition, the changing colors do not work, what can the problem be?
    “The background colors of successive lines should alternate.”
    There I put a check mark, but it doesnt work :/

    Best regards

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    ah, indeed ?? px should be % here ??

    To add borders, you can use CSS like

    .tablepress-id-123 th,
    .tablepress-id-123 td {
      border: 1px solid #cccccc;
    }

    For the alternating background colors: Are you sure that the checkbox is checked for the three tables? If you do that, the alternating colors should be showing.

    Regards,
    Tobias

    Thread Starter altcointrader

    (@altcointrader)

    The code works perfect, thanks Tobias!

    Yes, I’m 1000% sure. I’ve already cleared the cache and emptied AutoOptimize.

    I tried also to activate the checkbox below:
    Highlight a line by changing the background color when the mouse is over it.

    But this does not work properly, the first 2 lines of the table remain unchanged, only from the third line, the color changes when the mouse is over it. (But only, every 2 other lines, I’ve left it turned on so you can watch it.)

    Do I have a bad code somewhere or something that disturbs tablepress? Because the boxes are 100% marked.

    Thread Starter altcointrader

    (@altcointrader)

    Edit:

    I got it switched off again because you do not seem online. Once you’re back online, I’ll switch it on so you can see it.

    It’s really strange

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    sorry for not replying earlier. I’m a bit busy these days, as I’m moving to a different appartment. This might continue until the weekend, but I hope to be able to be more active again then.

    Regards,
    Tobias

    Thread Starter altcointrader

    (@altcointrader)

    Hi Tobias.

    No problem, I will write you again in this thread next week. At the moment it has no urgency.

    best regards

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for the patience! Yes, that would be great!

    Best wishes,
    Tobias

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Same width at all columns’ is closed to new replies.