Adjust Text Outline Weight?

Good afternoon!

Fairly simple question here to which I hope there is a fairly simple answer!

Within Wix Studio, I can’t find an option to adjust the weight of outlines on pieces of text. The standard is no-where near heavy enough for what I’m hoping to achieve so would like to make it heavier.

Any help would be greatly appreciated!

Many thanks.

Hi, @Jake_Cook !!

While I’m not entirely sure if this can be done using only Wix Studio’s built-in features, you can achieve it by using a global.css file—simply add your custom CSS (for example, using a class like outlined-text) to that file, then assign the same class name to the desired text element by selecting it, clicking the “Maximize” button at the bottom-right to open the coding panel, choosing the “CSS Class” option on the right side, entering outlined-text in the “Custom Class” field, and pressing Enter to apply the style, which should give your text a bold outline as defined in your CSS. :innocent:

/* in global.css */
.outlined-text .rich-text__text {
  color: black;
  -webkit-text-stroke: 15px black;
}

Based on the link above, it seems that most modern browsers support this CSS, but since there may still be some browsers where it doesn’t work properly, I recommend testing it across multiple browsers just to be sure. :innocent: