-
AuthorPosts
-
May 15, 2014 at 3:49 pm #265317
Hi
I’m using the avia layout builder, an work with your table layouts. I need to put multiple different tables after each other with same rows and columns. Problem is, the table change it’s width relating to the content within the tds and ths and every tables looks then different. I want to give the first column a specific size, but only for one site and specific tables, for example 30%.For the moment I solved the problem by putting this in my style.css of child theme:
tr:first-child th {
width:50%;
}At least, now I have all columns the same width. But this is now rule for every tables on this website. I would like to change only specific tables. And I wanna have the first column 30% width. For this, I should have the possibility to put a new class for a column. But how?
How can I do this?
And other question: How is it possible to change the source code of one site, for example to put an anker into the source code of a page?See also: http://www.avcare.ch/kandidatenprofile
May 15, 2014 at 4:16 pm #265334http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/
For anchors i recommend using the Color sections. If you edit a color section, you can enter an ID for it.
May 15, 2014 at 6:25 pm #265417Hey!
Please also see – http://kriesi.at/documentation/enfold/add-anchors-to-your-page-for-single-page-navigation/
Regards,
YigitMay 15, 2014 at 6:42 pm #265427Hi
I know the possibility with the color section. That was only an example. But how to change the layout of one single table in one single page, for example one th cell? Or the size of one column?I think I should use than a class for that cell. But how do I add a class for that specific cell?
René
- This reply was modified 10 years, 7 months ago by baiker.
May 15, 2014 at 6:50 pm #265432Hi!
You can add a class to the element ( see – http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ ) then target the cell easier. If you can point out the element we can help you after you add a class to your element
Cheers!
YigitMay 15, 2014 at 7:06 pm #265441Hi Yigit
Thanks, that’s great!!!!! Will try it immediately… and I will study the documentation more carefully ;)- This reply was modified 10 years, 7 months ago by baiker.
May 15, 2014 at 7:21 pm #265449 -
AuthorPosts
- You must be logged in to reply to this topic.