Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1284571

    Hi,
    I need to change the css of the standard table (alternating grey and white background and black and grey fontcolor) to only white background and black fontcolor. Where do I find this CSS and how could I create different styles for the tables (if this is possible)?
    Thank you for your help.

    Hallo,
    Ich würde gerne das Standard Tabellenlayout (abwechselnd weisser und grauer Hintergrund, schwarze und graue Schrift) in einen einheitlichen weissen Hintergrund und schwarze Schrift wechseln. Die leicht grauen Linien können bleiben. Wo finde ich das CSS für diese Tabelle, die automatisch auf eingefügte Tabellen angewandt wird?
    2. Frage, wenn es eine einfache Lösung gibt: Kann man auch mehrere Tabellenstile hinterlegen und dann zuordnen?
    Vielen Dank für eure Hilfe.
    lg alex

    #1284952

    Hey edendesign7,

    Please try the following in Quick CSS under Enfold->General Styling:

    .main_color table {
        background: transparent;
    }
    
    .main_color tr:nth-child(even) {
        color: #000;
    }

    Best regards,
    Rikard

    • This reply was modified 3 years, 8 months ago by Rikard.
    #1285013

    Hi Rikard,
    Thank you for your helpful answer! It works halfway. ;-)
    The font is black now, the background is still alternating. Actually I like this, but for my learning, it would be very interesting, how I edit the table row in an uniform color.
    If you have a second hint, I would apreciate.
    greetings, alex

    #1285040

    Hey Alex,

    Thanks for contacting us!

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

    .main_color tr:nth-child(2n+1), .main_color .pricing-table > li:nth-child(2n+1), .main_color .pricing-extra {
        background: white;
    }

    Best regards,
    Yigit

    #1285055

    Wow! That works now. Thank you!!

    #1285058

    Hi,

    You are welcome! :)

    For your information, you can take a look at Enfold documentation here – https://kriesi.at/documentation/enfold/

    If you have any other questions or issues, feel free to start a new thread under Enfold sub forum and we will gladly try to help you :)

    Enjoy the rest of your day!

    Best regards,
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Change style of table’ is closed to new replies.