• Hi.
    I’d like to know how to edit CSS for a single page.
    I’m making a table in page x, and because of HTML5 I can’t edit the width of the table like <td width=”20px”>hi</td> (in proper coding ofc)
    Now I need to change this in the CSS file but I can’t find the correct place to edit this in the extremely long CSS file (Using AccessPress Pro theme).
    Anyone PLEASE help me..

Viewing 6 replies - 31 through 36 (of 36 total)
  • Thread Starter Iceper

    (@iceper)

    @andrew? ??

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Did you fix it? It looks like 100px width to me

    Thread Starter Iceper

    (@iceper)

    No, I didn’t fix it. No matter what value I use, the table stays this wide.. To me it looks like it’s locked in a ‘secret setting’ or so..

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Is this what you see https://snag.gy/aEX8z.jpg ?

    Thread Starter Iceper

    (@iceper)

    Yes, but no matter what width I use, 20px or 100px, the table stays this size..

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Tables will only go as narrow as the content that allows them. For example, if you have a word “Hybridoma” in a table and that word is about 30 pixels in length, then the table will never shrink below 30 pixels wide.
    In your case, you also have padding set on the table cells (<td>) that acts as a barrier to the widths you’re trying to set.

Viewing 6 replies - 31 through 36 (of 36 total)
  • The topic ‘CSS for a single page?!’ is closed to new replies.