Forum Replies Created

Viewing 15 replies - 46 through 60 (of 71 total)
  • Thread Starter oavs

    (@oavs)

    Don’t worry All done.

    just add ` global $current_user;
    get_currentuserinfo();

    then do "Dear Tester ". $current_user->user_firstname .",\n\nThis is an automatic notification blah blah

    I am not a coder but it was not too hard either. You might have to do this in two places as some stupid reason there is a ‘Test’ email as well as the ‘Real’ email.
    `

    Thread Starter oavs

    (@oavs)

    Not to worry . I figured it out

    Hi Tobias

    You have been a great help to get my tables all sorted out and thank you for that.

    Client is asking me further to reduce the each row height on this page and does not matter what I do I can’t reduce it any further. Not sure if you are able to see my tablepress option css but its all there.

    And if there is a solution what would be the second option if I want to leave the row headers as they are without reducing their heights and only reduce the remaining rows.

    By the way if you are able to see my custom Css can you let me now how to see it please?

    This was useful thanks.

    Thread Starter oavs

    (@oavs)

    That did it many thanks. I am starting to like it now as I know how it works.

    Thread Starter oavs

    (@oavs)

    Excellent Tabias, that was really important although makes table editing makes little harder if you want to add new rows but for now I am happy with it..

    One other problem now is that font style is not same as the actual tablepreass header. It does not matter what I do I can not get it to the same font nor same letter spacing.

    Third table on this page OPTION 1 – ELECTIVE UNITS

    Thank you for your generous time

    Hi Tobias, I really appreciate your input and excellent support. I have now figured out most of my tables except one and was wondering if you could give me another hand with it please.

    On this page https://www.gcsb.com.au/wp/?page_id=39 as you can see only the top table I am having problem with.

    In my table option css I have as below. Basically I want the table to span (960pixels wide like the tables below to match but cell ‘COURSE’ which is ‘.tablepress-id-33 .column-2 ‘ needs to be much wider to fill the content text.

    I have already assigned pixel value but it is ignoring it. On the other hand if I change the pixel value in the last cell ‘COURSE FEES’ to 960px then page becomes wide but cell ‘COURSE’ (.tablepress-id-33 .column-2 ) still far too narrow for it’s content.

    Once this page looks fine rest of the pages with the same cell content should be the same. Meaning on the menu Courses > Diploma & Certificate Courses (there are 5 of them).

    Can you please suggest a solution?
    Thank you

    Table option CSS
    /* Course Summary – (All) Course Summary [table id=33,38,46,47,50 /] */
    .tablepress-id-33,
    .tablepress-id-38,
    .tablepress-id-46,
    .tablepress-id-47,
    .tablepress-id-50 .column-1 {
    width: 66px !important;
    }

    .tablepress-id-33,
    .tablepress-id-38,
    .tablepress-id-46,
    .tablepress-id-47,
    .tablepress-id-50 .column-2 {
    width: 509px !important;
    }

    .tablepress-id-33,
    .tablepress-id-38,
    .tablepress-id-46,
    .tablepress-id-47,
    .tablepress-id-50 .column-3 {
    width: 129px !important;
    }

    .tablepress-id-33,
    .tablepress-id-38,
    .tablepress-id-46,
    .tablepress-id-47,
    .tablepress-id-50 .column-4 {
    width: 128px !important;
    }

    .tablepress-id-33,
    .tablepress-id-38,
    .tablepress-id-46,
    .tablepress-id-47,
    .tablepress-id-50 .column-5 {
    width: 104px !important;
    }

    I think I got this one in the bag ?? ..finally

    I did it like this. will this cause a problem?

    .tablepress thead .column-1 {
    /* OAVS table header background color change*/
    background-color: #DFFAFF;
    /*white-space: nowrap;*/
    padding: 1px 10px 1px 10px; /* OAVS table height change*/
    line-height: 1em;
    }

    .tablepress thead .column-2 {
    /* OAVS table header background color change #FFEACE;*/
    background-color: #DFFAFF;
    white-space: nowrap;
    padding: 1px 10px 1px 10px; /* OAVS table height change*/
    }

    I got soo frustrated with adjusting each individual tables/cells I ended up placing a 1pixel image with zero height with required width seems to be working.

    I find it totally illogical that I can not adjust cells regardless of their content. Some content has more text but only 30pixel wide column ??

    You can see the page I am working on now , there are 4 tables on the page.
    Table ‘OPTIONS 1 – ELECTIVE UNITS’ has been adjusted with 1pxel trick but the last table ‘OPTIONS 2 – ELECTIVE UNITS’ has not been adjusted with the 1 pixel.

    But its so messy so I am taking it out now

    Now both has the same CSS options applied with exact same width but they look different ?? it is really soo frustating

    Here is the page
    https://www.gcsb.com.au/wp/?page_id=39

    Hi,

    How can I apply this for all rows in every table without the ID’s
    By the way, usually and for most use cases, it can be simpler to set the padding instead of the height.

    <strong>Text here etc

    Thanks again. I have uploaded the new default.min.css.

    This also worked for me. Thank you for your help. It is an amazing plugin as I can use for many things and it is sooo logical how you create, edit, add and delete cells tables etc. Only one thing is missing is adding inline css from a formatting icons menu. I know I can do this manually but it would be great for my clients who has no idea about opening tags and closing tags.

    Text here etc

    .tablepress-id-55,
    .tablepress-id-56,
    .tablepress-id-57,
    .tablepress-id-58,
    .tablepress-id-59,
    .tablepress-id-60,
    .tablepress-id-61,
    .column-2 {
    width: 80px;
    }

    Another question regarding table width is , is it possible to define more than one table ID without entering .tablepress-id-56, .tablepress-id-57, .tablepress-id-58 etc in the same class.

    .tablepress-id-55 .column-2 {
    width: 80px;
    }

    like ??
    .tablepress-id-55, 57, 68, 59 .column-2 {
    width: 80px;
    }

    Thanks Tobias,

    It really does not matter which table as I can not control either or any table width. Originally I wanted to apply it for all the tables but did not work. Is table width is table ID specific?

    Regarding CSS changes, I’ll do that but still risky as I do not have it as a local copy. I will make a copy locally now just incase.

    Faruk

Viewing 15 replies - 46 through 60 (of 71 total)