Css style applied to html article

I know this looks simple but:

how do you apply a single css style to html galleys?

I have tried various suggested solutions but the article does not borrow the style of the main theme(a bootstrap theme variant) and applying style when uploading the css together with the article doesn’t work either.

Do I miss something here?

Thank you for any input.

Hi @ctoma,

Best practice is to reference it directly in your HTML galley. This thread goes into more detail around how to do that and some of the common issues that users have faced when doing this.

-Roger
PKP Team

Thank you, will look into.

Hi, it worked as expected. Defined the css and linked it from the head section of the html file(used the absolute path because it looked more convenient and I can use the css for multiple journals).

Link in the head section looks like this:

<link rel="stylesheet" type="text/css" href="https://website.com/stylesheet.css" /> 

Playing with the file stylesheet.css until I get the results I need.

Thank you.
Catalin

1 Like