Home Forums Weaver Xtreme Theme Overriding table CSS in Xtreme

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #18227
    barbeluk1
    Participant

    Hi all,

    I’ve seen a couple of old posts about this but could do with a bit more information if possible?
    I’d like to add padding to the table on this page, but the theme is overiding anything I do on the page:

    I’ve seen elsewhere where you can override the CSS per page but am not sure how to get the page id, or where to put the CSS.

    Any help gratefully received.

    Andy 
    #24425
    scrambler
    Moderator

    First, why on earth would you use a table for a simple block of text ? 🙂

    You can just use a simple div with inline style

    <div style=”padding:20px;background-color:rgb(140,140,140);”>Your text</div>

    If you want extra space between the paragraph, add it in their inline style

    <div style=”padding:20px;background-color:rgb(140,140,140);”>

    <p>Your text</p>

    <p style=”margin-top:20px;”>Your text</p>

    <p style=”margin-top:20px;”>Your text</p>

    </div>

    but if you insist, on table, add the padding to the inline style attribute of your table.

    <table style=”width:100%;padding:20px;background-color:rgb(140,140,140);” ……….>

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.