Default Alignment

Almagesto
Almagesto

Dear all, anyone has any tips on how to make all pages be aligned to justify by default?

Comments

  • Almagesto
    Almagesto
    Posts: 7

    Guys, any alternative to just setting it in the code for each page?

  • weasel0
    weasel0
    Posts: 435

    Unless you have an Ascendant account where you could set custom CSS body/paragraph/whatever tag properties to justify, no. Each page.

  • ragnarhawk
    Posts: 168

    However, an Ascendant account offers so many really nice features - such as the site wide CSS, Player secrets, forums. more maps, more storage...

  • Almagesto
    Almagesto
    Posts: 7

    Guys, I already have Ascendant. How do I make those custom CSS for all my pages?

  • Almagesto
    Almagesto
    Posts: 7

    Found it. The error was in my syntax. This is how it should've been done:

    p {

      text-align: justify;

    }

  • ragnarhawk
    Posts: 168

    If you are looking to apply it to ALL paragraphs on ALL pages, you should be able to add the following to your CSS:

    p  {

      text-align: justify;

      text-justify: inter-word;

    }

  • ragnarhawk
    Posts: 168

    If you are looking to be more particular you will need to use a finer selector. My CSS fu is weak, particularly on selectors, but you can use the inspector in your browser to start to identity the specific containers that you want to apply it to.

  • Almagesto
    Almagesto
    Posts: 7

    Thank you so much @ragnarhawk !!

Sign In or Register to comment.

March 2024
Wrath of the Highborn

Read the feature post on the blog
Return to Obsidian Portal

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Discussions