Forum Replies Created
-
AuthorPosts
-
Hi,
one more question about the css. Now I set up a table, that I called “konzerte_table”. In the custom css I added the following code:
.avia-table.konzerte_table th, td, tr {
border-left-width: 0px;
border-right-width: 0px;
vertical-align: middle;
}The table is displayed as I wish, unfortunately the change is applied to ALL tables, not just my “konzerte_table” class. Is the code wrong?
Regards
PhilippHi,
that’s weired, I tried out exactly the same code in my functions.php, just the comment was different, but that actually shouldn’ matter. However, now when I copied your code it works! I don’t know why, but it works, and that’s most important :)
Thanks a lot, the css class-form makes my life a lot easier :)
Best Regards,
PhilippThis reply has been marked as private.Hi Devin,
as soon as I add
add_theme_support(‘avia_template_builder_custom_css’);
to my empty functions.php, my site goes down. It simply doesn’t load any more, just an empty white screen. I can’t view my site, nor go to the admin area. As soon as I undo the change, everything works again.
How should my functions.php file look, to impy the custom css-classes?
Thanks for your help
PhilippThis reply has been marked as private.Hi Dude,
thanks for this clarification.
I would love to do exactly this, so I set up a child theme. I’m not very experienced with php and child themes, here my question:
I have the empty functions.php in my childtheme folder and the style.css. Now I want to add the code as Ismael proposed. I can’t do that in my functions.php, since it’s empty and the code has to be in a certain line of the original enfold functions.php.
I could simply copy the original and overwrite the empty functions.php and modify the code. But then all the benefits of a child theme would be negatet. With every update I would have to recopy the functions.php and modify it again, right?
Would be glad if you could help me with this.
Regards
PhilippI see…. that is what i feared.
I have to say that this sucks quite a lot. When I have five different languages that means five times the same work just to add a picture or change one. If your theme claims to be “WPML-ready”, you should also mention that it is “NOT layout-builder ready” :(
That’s really a pitty because a part from that I love your theme and the support is great so far. I hope you will think about this issue in future updates.
Regards
PhilippHi,
I know that pressing enter produces a none-breaking space in a paragraph tag, but I don’t press enter. It happens automatically.
When I put the table in a div tag, the non-breaking spaces still appear, now between the div-tag and the table-tag…
- This reply was modified 11 years ago by p_niedrich.
Hi Ismael,
thanks for your help. With the padding the vertical alignment is affected, but I have to change that value manually, depending on the content of each section. SInce I have a lot of sections that would be a ton of work. Would be nice to have that done automatically…
I didn’t try out your code proposals yet, but that sound pretty awesome since I was asking myself, how I could attach css code to particular avia elements. If I understand correctly, that would attach an id form to the text-blocks, like it exists for the color-sections, right?
By the way, I would suggest that feature (to have id forms for all the layout builder elements) for future updates. I think a lot of people would like that…
Regards
PhilippYes, they are.
Hi Ismael,
thanks for your tip with the tables. You were right of course, I didn’t know, that you can use shortcodes. However the layout possibilities of the enfold-table are limited. Then I would have to change the css of the table and that wouldn’t make things any easier, since I would have to change the table in general. Not just this specific one for which I need a very particular outfit. If I’m correct there is no possibility to assign an id or class to the enfold-table, right?
About my problem:
When I open the textblock the visual editor appears and displays everything nicely. When I switch to the code-editor, suddenly there are the non-breaking spaces. When I switch back to the visual editor I have blank spaces as well. Its very weired and seems to be like a bug.
Of course I can delete the none-braking tags and save, but when I reopen, the same problem begins again.Thanks for your help
Hi,
you are right, somehow my browser didn’t update. The sections have a better size now, nonetheless the vertical alignment is still not in the middle. How to achieve that?
Thanks
Hi Yigit,
unfortunately that didn’t change naything…
The tags are non-breaking spaces ( ). I would use the Enfold-Table Element, unfortunately it doesn’t support images (would be a nice new feature)….
-
AuthorPosts