left border only - Forum | JoomShaper
Staff replied SP Page Builder

left border only

Asked by Tomasz Michałowski 4 years ago Last activity 4 years ago

How to set only the left border for an element. you can only set the border but for all sides

9 replies

Mehtaz Afsana Borsha Staff
4 years ago · edited

Hi,

You can use border-left css property. If you need help then give me your site URL please so that I can check. You can solve it via custom css

-Regards

Tomasz Michałowski Asked this

Unfortunately, this option does not respond at all, I added border-left: solid 2px #000 and nothing showed - it does not respond to changes. it doesn't really work at all

Tomasz Michałowski Asked this

Mehtaz Afsana Borsha Staff
4 years ago · edited

Hi,

I cant access please check. Please give me the correct username and password

https://prnt.sc/20m8l4v

Tomasz Michałowski Asked this

sorry ;-)

Tomasz Michałowski Asked this

Will it be possible to solve the problem with the custom css field which does not work?

Pavel
4 years ago · edited

...which does not work?

Hi.
It works, you just use wrong syntax.

Add your own class in General Tab.

Then, you can use this field.

But ... I would not recommend using this field for production. Only for fitting code. And then transfer it to custom.css file. Since the code that added to this field is placed inside the body in the <style></style> tag, that is not valid and impairs performance.

And one more nuance. In this field you can only use the code for your class and its child elements. You can not refer to the addon wrapppers.
In order to understand which items you can use there, open the code inspector and find your class.

In different addons it may be differently.

Tomasz Michałowski Asked this

and this is how it works .... thank you for your help

Mehtaz Afsana Borsha Staff

Sorry for my delayed reply. My duty time was over. But Pavel has already solved it. Thanks, Pavel for your cooperation

You can now accept the answer and close this post

Log in to reply.