saltire
Forum Replies Created
-
Thanks Tobais,
it’s almost there. However it’s only the header row that’s become narrower the others have remained the same size.
Also is there anyway I can centre the table in the widget I tried using a div to wrap the shortcode but that didn’t work.
https://thinkaboutscotland.com/edinburgh-and-the-lothians/edinburgh/
Thanks Tobais,
That did help the table is now narrower. I made some other changes it needed to be smaller, with a smaller font and narrower rows so I tried this code
#tablepress-47_wrapper {
width: 200px;
font-family: Tahoma;
font-size: 10px;
}.tablepress-id-47_wrapper {
padding-top: 2px;
padding-bottom: 2px;
}I then placed the short code in a text widget and put it in the sidebar but it just expanded again to fill the sidebar.
I need it to look more like the one on the page rather than the one on the sidebar. I’ve left both for you to see.
https://thinkaboutscotland.com/edinburgh-and-the-lothians/edinburgh/Thanks
Hi Tobias,
I’ve had another try to work this out, sadly no luck.I’ve been able to add the scrolly code [table id=47 datatables_scrolly=”150px” /] and have a single column table with vertical scroll.
However no matter what I try I cannot reduce the width to fit the sidebar and have it display properly. I have tried this code for example
}
.tablepress-id-47 {
width: 330px;
}
When I hit the save button I see a flash of a narrower table before it goes back to full size.I also need to adjust the depth of the rows.
I have left the table on the page if you need to have a look.
https://thinkaboutscotland.com/edinburgh-and-the-lothians/edinburgh/I only have a few rows in the table but if I can get it to work there will be dozens of rows.
Any suggestions?
Thanks
Okay thanks for this, if you leave it with me i will come back to you.
Hi Tobias, thanks for getting back to me. Sorry for the confusion as I wasn’t able to design the table properly I had to delete it from the site. At this stage I really need the css code to make a table as shown in the other link I sent. I would then try to design something similar.
Hope you can help
ThanksThanks,this is great it worked just fine. I think I have finally stopped these *** Italy brute force IPs.
Also wanted to add my thanks for this information without it very little of my content would be indexed. A comment from the theme developer would be helpful.
Sorry forgot to mark as resolved
Okay Tobais,
Once again thanks for the advice, I’ll have a go at closing up some of the space in the code.
Thanks
Hi Tobias,
thanks for getting back to me.
It’s a pity I can’t change a single cell but it would be good to know how to deal with the white space.
Yes the Adsense was pasted in and I also used a centre div.
One further question. Instead of a 3 column table could I put 3 x one column tables side by side?
I wanted to add some extra information to this query. To accommodate the adsense I am using [table id= 2 convert_line_breaks=false /]
Also to try to isolate one cell with the advert I am trying
}.tablepress-id-2 .column-1 row-8 {
width: 75px !important;
}
What I get is too much extra white space in the advert cell but also the cells to the left and right have expanded to the same size.Thanks Tobais,
I tried what you suggested using Firebug, it got a bit complicated. When I reduced the table width a horizontal scroll bar was added and the header row remained the same size leaving a gap between header and table.
Perhaps I just need to live with the table the way it is.Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] make table narrowerJust marked as resolved
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] make table narrowerTobias, thanks for your help. Fantastic service as usual.
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] make table narrowerTobias, thanks that did work but one more question please. How do I centre it in the widget?