Skip to content

How do I change the alignment of all texts in a page? #10586

Answered by mcanouil
ritog asked this question in Q&A
Discussion options

You must be logged in to vote

That's beyond Quarto support.
If you want to customise your HTML, you need to learn (S)CSS, there are no way around that.

Now, one way to solve the issue is to use your favourite browser inspect/developer mode, find the target, create a rule, add that rule to your document/page with the css YAML key in your YAML frontmatter (see documentation).

I also suggest you read the documentation about authoring with Quarto, especially the part about using "raw content" and the "divs and spans":

Screen.Recording.2024-08-22.at.15.31.17.mov

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ritog
Comment options

Answer selected by ritog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
html Issues with HTML and related web technology (html/css/scss/js) themes Related to HTML theming or any other style related issue (like highlight-style)
2 participants