Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
TristanJo
Experienced
Topic Author
Posts: 116
Joined: 10 Apr 2018, 02:57

menu boder?

30 Nov 2020, 14:00

Hi Karl~

I'd like to use a border for a specific menu.

What do I do?
 
스크린샷 2020-12-01 오전 3.57.36.png
스크린샷 2020-12-01 오전 3.57.36.png (97.31 KiB) Viewed 1483 times
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: menu boder?

30 Nov 2020, 21:57

There is a few ways, but the simplest is to add to Settings > Custom > Custom CSS:
Code
a[href="/contact/"] {
  border: 1px solid #000;
}
The href must match the link exactly.
 
User avatar
TristanJo
Experienced
Topic Author
Posts: 116
Joined: 10 Apr 2018, 02:57

Re: menu boder?

30 Nov 2020, 22:20

mjau-mjau wrote: 거기에 몇 가지 방법이지만, 가장 간단한에 추가하는 것입니다 설정> 사용자 정의> 사용자 정의 CSS : href를 정확히 링크와 일치해야합니다.
Code
a[href="/contact/"] {
  border: 1px solid #000;
}
wow~ thx~~
 
User avatar
TristanJo
Experienced
Topic Author
Posts: 116
Joined: 10 Apr 2018, 02:57

Re: menu boder?

30 Nov 2020, 22:25

mjau-mjau wrote: There is a few ways, but the simplest is to add to Settings > Custom > Custom CSS:
Code
a[href="/contact/"] {
  border: 1px solid #000;
}
The href must match the link exactly.
But it doesn't apply if it's an external link button, does it?
스크린샷 2020-12-01 오후 12.25.26.png
스크린샷 2020-12-01 오후 12.25.26.png (67.96 KiB) Viewed 1479 times
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: menu boder?

01 Dec 2020, 03:11

TristanJo wrote:But it doesn't apply if it's an external link button, does it?
It should still apply. Got a link?