Tagged: block editor
-
AuthorPosts
-
April 2, 2020 at 9:30 pm #1200301
Hi guys,
I have been fixing quite a few CSS that does not work as it should but this one is beyond me. Here is the code (right below) – no borders have been set for this column, yet, if you click on the link to the website on the Private Content, there’s a border in blue.
[av_cell_one_fifth vertical_align='top' padding='30px' padding_sync='true' background='bg_color' background_color='' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' background_attachment='scroll' background_position='top left' background_repeat='no-repeat' link='' linktarget='' link_hover='' mobile_display='av-hide-on-mobile' custom_class='' av_uid='av-k8hvvzod']
The code that has a solid top is:
div after_submenu_1 class=”main_color av_default_container_wrap container_wrap fullsize
Added on Private content the link to the css (Grid.css) where .container_wrap is the culprit for the border.
/*no z-index for container_wrap or fixed bgs start disapearing when other elements transition -> weird chrome bug*/
.container_wrap {
clear: both;
position: relative;
/* z-index: 1; */
border-top-style: solid;
border-top-width: 1px;
}This is as far as I was able to get. What is the solution?
Thank you so much!
Havi
April 9, 2020 at 2:39 pm #1202319April 9, 2020 at 3:56 pm #1202359Hi Victoria,
Thanks. Yes, those are the lines I was referring to (left them on that page just for you to see).
Wouldn’t that CSS override the style of every section? What if I were to create one with borders?
I found a different workaround since I wrote this ticket but I think this is a bug. Not a feature. Is there any additional information I can provide that can help fix it on the next release? I’ll be glad to help.
Best,
Havi
April 10, 2020 at 9:25 pm #1202760Hi Havi,
You can use the grid or the section id to adjust the code to work just for those sections and not for the whole website.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.