Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1407244

    Hey Enfold Support’

    I’m trying to edit the table, but when adding the table header (css code from documentation), the whole layout, webdesign changes. Please could you help med out?

    Table header
    Should be background color: #f8f9f9

    Used this css from your documentation
    #top .avia-table th {
    background: #f8f9f9;
    color: #17494d;
    }

    The table rows background colour should change accordingly
    Header background: #f8f9f9
    Row background: #fcfcfc
    Row background: #f8f9f9
    etc.

    Please could you help med with the CSS?

    Many thanks & Best regards
    Lene

    #1407332

    Hi Lene,

    Please try to add this CSS code in Enfold > General Styling > Quick CSS:

    #top .avia-table td {
        background-color: transparent;
    }
    
    #top .avia-table tr {
        background-color: #fcfcfc;
    }
    
    #top .avia-table tr:nth-child(odd) {
        background-color: #f8f9f9;
    }

    Best regards,
    Nikko

    #1408406
    This reply has been marked as private.
    #1408449

    Hi Lene,

    Please try to add this CSS code as well:

    @media only screen and (max-width:767px) {
      #top .avia-table td {
        max-width: 140px;
        white-space: break-spaces;
      }
    
      #top .avia-table td strong {
        white-space: break-spaces;
      }
    }

    Best regards,
    Nikko

    #1408511
    This reply has been marked as private.
    #1408624

    Hi Lene,

    I apologize for my mistake, please remove the code I gave you and replace it with:

    @media only screen and (min-width:1024px) {
      .page-id-961 #av_section_3 .avia-table tr > td:nth-child(even) {
        width: 150px;
      }
    }

    Hope this helps.

    Best regards,
    Nikko

    #1408678
    This reply has been marked as private.
    #1408733

    Hi Lene,

    Please replace the code I gave with this one:

    @media only screen and (min-width:1024px) {
      .page-id-961 #av_section_3 .avia-table tr > td:nth-child(2) {
        width: 230px;
      }
    
      .page-id-961 #av_section_3 .avia-table tr > td:nth-child(4) {
        width: 130px;
      }
    }

    Hope it helps and have a great weekend :)

    Best regards,
    Nikko

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