Bigger clickable primary particle

Hey there,
building upon my closed thread here https://theme.co/apex/forum/t/patent-links-not-clickable-in-mobile-menu/49885

Now that the parent link is clickable, I’d like to make the clickable surface of the primary particle bigger, so it is easier for users to hit with their fingers. the look of the particle should stay the same, just the clickable surface should be enlanged.

Thanks for your help!

Hi There,

To change the size of particle, please add this custom CSS:

.x-anchor-sub-indicator {
    position: absolute;
    right: 0;
    width: 54px;
    height: 54px;
    margin: 0 !important;
    line-height: 54px !important;
    vertical-align: middle;
}
.x-anchor-sub-indicator::before {
    margin-top: 18px;
}

If you would like to learn CSS, I am sharing few resources that you take a look to get started with CSS and an interesting tool that you can use to speed up the development process.

I recommend you to watch following video that will help you to get started with CSS.

https://www.youtube.com/watch?v=MFR4WXiLzpc

Sometimes it can get a bit difficult to find out the right selector to be able to write the required CSS codes. A handy tool that can help you in this is Google Chrome dev tools. I am sharing the resource that you can refer to get started with dev tools.

https://developers.google.com/web/tools/chrome-devtools/css/

https://developers.google.com/web/tools/chrome-devtools/

https://www.youtube.com/watch?v=tP_kXBJWPhQ&t=200s

Thanks.

thank you, not sure what that did other than making it look weird. the arrow is still very hard to hit with the fingers. please try it yourself.
thanks for your help

Hi @zerotoone.de,

The CSS is not taking effect and this is the current CSS (I removed the upper part to make it smaller)

.shadow2 {
	box-shadow: 0px 24px 43px 0px rgba(173, 179, 192, 0.15);
}


}
.x-anchor-sub-indicator {
	position: absolute;
	right: 0;
	width: 54px;
	height: 54px;
	margin: 0 !important;
	line-height: 54px !important;
	vertical-align: middle;
}
.x-anchor-sub-indicator::before {
	margin-top: 18px;
}

The CSS isn’t working because of extra curly bracket, please remove it and it should look like this

.shadow2 {
	box-shadow: 0px 24px 43px 0px rgba(173, 179, 192, 0.15);
}

.x-anchor-sub-indicator {
	position: absolute;
	right: 0;
	width: 54px;
	height: 54px;
	margin: 0 !important;
	line-height: 54px !important;
	vertical-align: middle;
}
.x-anchor-sub-indicator:before {
	margin-top: 18px;
}

Any malformed CSS could affect the newly added CSS.

Thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.