Hello everyone and thank you for the time you will dedicate to me. I have a problem with style sheets. I explain:
I created a site “The editorial series” with three different magazines inside.
these three different magazines (notebooks-miscellany-reports) have the bootstrap3 template to which I apply a style sheet with a different color to each one.
Hi, I’m not sure how the Bootstrap theme is working, but the culprit seems to be there.
The usual way is to create a theme plugin (derived from the default plugin or the Bootstrap plugin, either as copy or as a child plugin) for each of the journals and the central site. See https://docs.pkp.sfu.ca/pkp-theming-guide/en/theme-bootstrap3
Thank you for your answer. I looked in the guide but I didn’t understand much. you’re basically telling me that I have to make multiple duplicates of the bootstrap3 plugin, one for the main page from which you can access the three different magazines and one for the three magazines? how is it accomplished? should they make a duplicate of the plugin and rename it something else?
Hi @simgiallorosso, the custom stylesheet that is uploaded in the administration area will also be loaded in the individual journals, after the custom stylesheet in the journal - so there may be CSS that is being overwritten depending on what you are customizing.
I’m sorry but there are posts from 2020.
I don’t think a solution has been reported or am I wrong?
However, this is exactly the problem described. how to solve it?
HI TO EVERYTHING! PROBLEM SOLVED
our system administrator found a solution to the problem.
basically it calls the style sheet inside the journals differentiating it with the journal id
it is clearly not an ideal way to solve the problem, but by doing so the newspaper has its own style child and the three magazines that compose it each have their own style sheet.
I hope it can be of help to developers to solve this bug once and for all.
problem solved: update:
with the previous solution the problem remained for the navigation pages.
basically in the PKPTemplatemanager.php file our system administrator changed the priority of the css call, which by default is set to 15 for both the newspaper and the magazines inside it.
he then changed this parameter and now the newspaper and the three magazines that compose it each have their own style sheet for bootstrap3.
i hope it helps and that the ojs managers solve this bug