Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
hi, whenever i try to make tables using the text widget on pagebuilder it overrides all of my settings and instead of making a table with borders and centered text i get a borderless table with left-aligned text
please help
Hi Jose
Thanks for running Page Builder. Can you perhaps describe the table you want verbally and I’ll write the CSS to assist with this task.
Hi andrew, yes, basically i just want the borders to show, to change the color of the font and the content to be centered.
this is my current table
Give this a try. First, some slightly simplified HTML:
Next insert the below into Appearance > Custom CSS and edit as required. Looks good on my side:
Hi andrew,
it kinda half worked. i can see the border lines now, and the text color is exactly as i wanted, but it still wont center the text. also if i try to change the border size or the border color it doesn’t do anything
http://www.suprasolar.mx/productos/accesorios
ok, i went to the theme css and changed
from this
from this
and it seems to be working now
Ahh my bad, I forgot to center the text.
Changes made to style.css won’t survive theme upgrade which is why you need to place your additions under Appearance > Custom CSS. So your complete Custom CSS should be:
got it, so all changes must be made to the custom css.
the new code work thanks a lot.
now one last question. what if i want another type of table,
can i create a class?
Yes, all code CSS inserted under Appearance > Custom CSS. This will apply to all your tables. All I’ve done with the last two selectors is say, the first row, make that bold, green bg and white text and do the same for the second row but with no border.