Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter awbwerbung

    (@awbwerbung)

    Hey thanks again.

    I think i made it… at least for my needs.

    Steps:
    Put the title in a div AND a span

    like:

    <div><span>A very very long title</span></div>

    The CSS looks like this now:

    .tablepress-id-11 th {
    /* Something you can count on */
    	height: 200px; /* make this big enough to fit your titles */
    	white-space: nowrap;
    }
    
    th > div {
    	transform: /* Magic Numbers */
    /* 45 is really 360 - 45 */
    translate(25px,51px) rotate(315deg);
    	width: 30px;
    }
    
    th > div > span {
    	border-bottom: 1px solid #ccc;
    	padding: 5px 10px;
    }
    
    .tablepress-id-11 td {
    	text-align: center;
    }

    I found this code on another website, but now it fits my needs.
    Its not 90° rotated but 45, which is ok for me.

    Thanks Tobias for your support. Its really a great plugin, once you know how to handle all the stuff!! thanks!

    Thread Starter awbwerbung

    (@awbwerbung)

    Hey thanks ??

    i NEARLY got it working. For now it looks like this… some cells in the first row are somehow wrong… but i can’t find out why…

    Maybe you can take a quick look…

    This is how it looks now:

    https://neu.druckereiservice.de/waschmittel/

    • This reply was modified 6 years, 1 month ago by awbwerbung.
Viewing 2 replies - 1 through 2 (of 2 total)