- This topic has 10 replies, 2 voices, and was last updated 3 years, 3 months ago by
Fernando.
-
AuthorPosts
-
January 9, 2023 at 11:42 pm #2489682
Jusung
Hello. I am trying to make query loop on the front page.
As you can see on the site, the line is too long.
the line is not supposed to be connected.I want to make the line at the same location with the end of featured image.
Could you help with this/.?January 10, 2023 at 12:02 am #2489701Fernando Customer Support
Hi Jusung,
Yes, we can help.
Can you provide a rough sketch of how the line should look like? Example – see the red lines: https://share.getcloudapp.com/nOu1XYng
January 10, 2023 at 12:11 am #2489705Jusung
On the link, on the content section, you can see the line that I am trying.
January 10, 2023 at 1:18 am #2489753Fernando Customer Support
I see.
Can you remove the vertical lines you have right now, and add this code through Appearance > Customize > Additional CSS?:
.gb-grid-wrapper.gb-grid-wrapper-05a1ec58 > .gb-grid-column:not(:last-of-type):after{ content: ""; height: 80%; width: 1px; position: absolute; top: 50%; right: 0; background-color: #000000; z-index: 100; transform:translateY(-50%); } .gb-grid-wrapper.gb-grid-wrapper-05a1ec58 > .gb-grid-column:not(:last-of-type) { position:relative; }January 10, 2023 at 4:57 am #2489984Jusung
It is working well!!
However, I need a border on the bottom too.
Can you help with it?
January 10, 2023 at 4:55 pm #2490761Jusung
When you see the link there is supposed to be a border under the content.
not only side but under the content.January 10, 2023 at 5:29 pm #2490774Fernando Customer Support
Try adding this CSS as well:
.gb-grid-wrapper.gb-grid-wrapper-05a1ec58:after { content: ""; height: 0.5px; width: 100%; position: absolute; bottom: 0; right: 0; background-color: #E0E3DA; z-index: 100; } .gb-grid-wrapper.gb-grid-wrapper-05a1ec58 { position:relative; }January 10, 2023 at 5:44 pm #2490782Jusung
Thank you.
Can I just chage the width 100% to 97.6% to meet the edge of featured image
or is there other way to make it?January 10, 2023 at 5:45 pm #2490783Jusung
When I do 97.6%, the left part is ok but the right part is too long..
I need the same length of border by the featured image.January 10, 2023 at 5:48 pm #2490785Jusung
Oh sorry. It is ok now! when I change it to 97.7% of width, everything is ok!
Thank you!January 10, 2023 at 8:03 pm #2490840Fernando Customer Support
You’re welcome, Jusung!
For reference, the code should be something like this if you reduce the width from 100%:
.gb-grid-wrapper.gb-grid-wrapper-05a1ec58:after { content: ""; height: 0.5px; width: 97.7%; position: absolute; bottom: 0; left: 50%; background-color: #E0E3DA; z-index: 100; transform:translateX(-50%); } .gb-grid-wrapper.gb-grid-wrapper-05a1ec58 { position:relative; } -
AuthorPosts
- You must be logged in to reply to this topic.