Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    The table header row has the default color that TablePress uses. You can however easily change that: https://tablepress.org/faq/change-background-color-table-head-row/

    That problem with the data missing is caused by some very weird coding in your child theme. Apparently that contains some CSS code in the /wp-content/themes/dottoro_child/style.css file that hides various columns (which are rows due to the TablePress Extension) on small screens:

    @media only screen and (max-width: 768px) {
    	#ascent, tr td:nth-child(5)		{ display:none; visibility:hidden; }
    	#time, tr td:nth-child(6)		{ display:none; visibility:hidden; }
    }
    
    @media only screen and (max-width: 420px) {
    	#miles, tr td:nth-child(4)		{ display:none; visibility:hidden; }
    	#ascent, tr td:nth-child(5)		{ display:none; visibility:hidden; }
    	#time, tr td:nth-child(6)		{ display:none; visibility:hidden; }
    }
    
    @media only screen and (max-width: 320px) {
    	#startpoint, tr td:nth-child(3)	{ display:none; visibility:hidden; }
    	#miles, tr td:nth-child(4)		{ display:none; visibility:hidden; }
    	#ascent, tr td:nth-child(5)		{ display:none; visibility:hidden; }
    	#time, tr td:nth-child(6)		{ display:none; visibility:hidden; }
    }

    I suggest that you remove this code from that file, or adjust it to only affect the relevant tables.

    Regards,
    Tobias

    Thread Starter Neil Haslewood

    (@neil-haslewood)

    Hi Tobias

    Thanks for that. I changed the code and all works fine now.

    Kind Regards
    Neil

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ?? Good to hear that this helped!

    Best wishes,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Resposive Table Header Color’ is closed to new replies.