Changing the global text alignment #253
-
Checks
Link to your website repohttps://deadlabcary.github.io/lab-website/media/ Version of Lab Website Template you are using1.2.1 DescriptionI'm trying to figure out how to make the text of different items (e.g. cards, home page) be something other than justified alignment (e.g. left, right, etc). I found in the I would ultimately like to change this for the whole website, but the card example is emblematic of the issue. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
There's not really a way to change the alignment of everything on the site, nor would that be advisable. You'll need to have some CSS knowledge to edit the Then If you want help making a particular element look the way you want, please post a screenshot. |
Beta Was this translation helpful? Give feedback.
You would be looking for anywhere in the code that
text-align: justify;
. Just ctrl+f your repo for that string and replace it withtext-align: left;
. In particular, you are probably noticing the one onp
(paragraph) elements, which appear all over the template, including the card component: