Tagged: 

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #396738

    Hello,

    I did read a lot of blogs about making the background of a table one color, but I don’t get it.
    I’m pretty sue I’m doing something wrong, but what?

    On this page I’ve created a table in the editor. http://dnhofvandetoekomst.nl/contact/
    I want to have the background white and no border.
    So please help

    With kind regards,
    John

    #396741

    Hi John!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    .page-id-71 tr {
    background-color: white!important;
    }
    .page-id-71 tr td {
    border: none;
    }

    Cheers!
    Yigit

    #1020034

    Hi Enfold Support,
    We’re trying to accomplish the same thing as well as style the content within the tables. Ideally we’d like to accomplish the following:
    1. have the table cells background be transparent so the color section background video shows through.
    2. vertically align the content
    3. remove borders
    4. no space and or control the spacing between table cells as well as above and below (i.e. padding and or margins)

    URLs and logins in private area.
    Thank you!
    Eric

    #1020836

    Hi Eric,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
     .main_color tr:nth-child(odd), 
     .main_color .pricing-table>li:nth-child(odd),
     .main_color .pricing-extra {
      background: transparent;
      border:  none;
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1020853

    Hi Victoria,
    That did it although it didn’t work placing within the Quick CSS area of Enfold. Worked when placing within the WordPress Customize area “Additional CSS”. This way it won’t be overwritten during the next Enfold update.

    Can you please share the css for these other items?
    2. vertically align the content
    4. no space and or control the spacing between table cells as well as above and below (i.e. padding and or margins)
    Thanks you,
    Eric

    #1020898

    We solved the vertical alignment with:
    .pricing-table-wrap {
    vertical-align: middle;
    }

    Beside item #4, we have one other request and this is to make the table width of one column bigger than the other. Currently they’re the same width. We’d like the first column (left) to be 70% of the table width and 30% for the right column.
    Thanks!
    Eric

    #1021718

    Hi Eric,

    Best regards,
    Victoria

    #1021759

    So how can you make the table width of one column bigger than the other? Currently table cells / columns are the same width. We’d like the first column (left) to be 70% of the table width and 30% for the right column. Do you have a quick CSS fix to accomplish this?

    #1022310

    Hi Eric,

    You need to give this first tables an id or a class so that we can try to target it.

    Best regards,
    Victoria

    #1022399

    Use “custom-table-width” What’s the CSS class that we’ll be adding to the Quick CSS? Thanks!

    #1023491

    Hi Eric,

    Well, you can use this code:

    
    .wp-image-21108 {
      max-width: 200% !important;
      width: 150%;
    }
    
    

    Best regards,
    Victoria

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