• alienick

    (@alienick)


    Hi, when I creating a table i cannot get rid off a borders – i’ve got “user agent stylesheet” and from there proably theme gets style. I’ve tried to overriding this by css or just in definition of table but it doesn’t work for me, I’ll be grateful for any tips.

Viewing 4 replies - 1 through 4 (of 4 total)
  • CypressWebs

    (@jmeyer2485)

    In your Child Theme or CSS Editor Plugin try this code:

    #content table, #content tr td {
      border: none;
    }

    *Note
    If your theme has a custom CSS Editor in it, you can also paste the code in there.

    Never edit core CSS files, they’ll be deleted when the theme is updated.

    Thread Starter alienick

    (@alienick)

    Of course, I’ve done that in child theme’s style.css, but it still don’t work. When I inspect element in browser I have: http://scr.hu/10d0/tp2qi

    Thread Starter alienick

    (@alienick)

    Ok, success, I reinstall theme and then define style for td, not table. Unfortunately `#content table, #content tr td {
    border: none;
    }` didin’t change anything, but it could be some my mistake, I’m beginner. Anyway it works now and I’ve got another issue – how make child theme use fonts from \css\fonts directory? I had to change subset.

    Hello alienick,
    1. In HTML you can directly use the font class and it’ll work.
    2. In CSS you need to indicate the font-family, something like this

    .selector:before {
        font-family: 'FontAwesome';
        content:"\f09a";
    }

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Table border’ is closed to new replies.