You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Online

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

#111053 Default Alignment

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by piluche on Tuesday, 17 May 2022 12:13 BST

piluche
Hi Ryan,

Installed 2.9.22 Pro version.
When adding a new article, the cursor in paragraph is right aligned by default !
When typing a text , it is right aligned !!!
I dont know where to set it to left as default
Thanks for help
Phil

Ryan
Are you using a RTL language pack for your site?

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

piluche
Hi Ryan,
Not at all, as far as i know
Where can i check that ? ( i'm not a Geek 😉

Ryan
Please send me a login - https://www.joomlacontenteditor.net/contact/site-login

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Ryan
Your template's template.css stylesheet (templates/optigestion_base_v4_lateral_blanc/css/template.css, line 529) includes the following css rule which applies a text-align:right style to ALL paragraphs:

p, #ttr_html_content_margin p, .ttr_article .html_content p, .ttr_block .html_content p, footer #ttr_footer_inner .container p, footer #ttr_footer_inner .html_content p {
  font-size: 1.14em;
  font-family: "Open Sans","Open Sans","Tahoma";
  font-weight: 400;
  font-style: normal;
  margin-top: 5px;
  margin-bottom: 5px;
  color: #2E1532;
  text-shadow: none;
  text-align: right;
  text-decoration: none;
  line-height: 1.42;
}

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Ryan
I have fixed this on your site by adding the following to the template.css file:

p {
  text-align: inherit;
}

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

piluche
Got it !
I guessed it came from the template, but not sure
Thank you very much
HvE a nice day

Phil