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 Offline

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

Please create a new Ticket and we will get back to you as soon as we can.

#110569 second line cant be centralized

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 Ryan on Friday, 18 March 2022 15:07 GMT

almothaqaf
hi, we have a issue every time, we put the second line in centre, it goes off rail

https://prnt.sc/AtJbF7A38bh1

even checked the code and looks fine and its not a visual bug it actually shows like that in the front page too

Ryan
If you are creating the second line by pressing enter, which creates a new paragraph, then the center alignment in the first paragraph will no longer apply to the new one, and you will have to re-apply it.

If you want to create a new line within the first paragraph, use SHIFT+Enter.

Ryan Demmer

Lead Developer / CEO / CTO

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

almothaqaf
hi, the problem still exist, we been using JCE for long time, never ever had this issue, any second line or paragraph if you trying to center it, the whole thing gets stuffed up, and the second issue are the photos, as soon as you put a larger photo, it doesnt appear or cant be re-adjusted , never had this problem before

chk screenshot plz : https://prnt.sc/_BRlasQhFfB4

on addition if i try to re-edit a text that was pasted from word document, it loses all the style and formation instantly

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.

almothaqaf
done, thank you

Ryan
hi, the problem still exist, we been using JCE for long time, never ever had this issue, any second line or paragraph if you trying to center it, the whole thing gets stuffed up, and the second issue are the photos, as soon as you put a larger photo, it doesnt appear or cant be re-adjusted , never had this problem before
This is caused by some css in your template stylesheet, specifically the max-width style applied to p:nth-child(2) :

p:nth-child(2) {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: inherit;
  max-width: 360px;
}

Ryan Demmer

Lead Developer / CEO / CTO

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

almothaqaf
what do you suggest, how can we fix this ?

Ryan
This appeared to have been some css code you added to the Custom CSS field in your template configuration.

I have corrected this on your site.

Ryan Demmer

Lead Developer / CEO / CTO

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

almothaqaf
thanks a lot, the large photo problem seems to be fixed but what about the problem with centering the test and paragraphs (this is a big issue, as if we try to edit it manually, it chops part of the text of the articles and has caused some drama with the writers and authors )

and the other issue, in some instances the photos gets overlapped like this : https://prnt.sc/nMkzUd9Pgxs8



Ryan
what about the problem with centering the test and paragraphs (this is a big issue, as if we try to edit it manually, it chops part of the text of the articles and has caused some drama with the writers and authors )

This is fixed with the css fix I did on your site, but as I said before, when you press enter to create a new paragraph, you have to apply the center alignment to the new paragraph.

and the other issue, in some instances the photos gets overlapped like this : https://prnt.sc/nMkzUd9Pgxs8

Please post a link to this page.

Ryan Demmer

Lead Developer / CEO / CTO

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

almothaqaf
https://www.almothaqaf.com/k/k2

all this page
thank you

Ryan
None of these are JCE issues and all seem to be caused by the custom css you have added in the Custom CSS field in your template's configuration.

With the images in the layouts on this page - https://www.almothaqaf.com/k/k2 - there seems to be a layout conflict between "intro images" created by whatever extension is producing the layout, and images within the articles themselves.

I'm afraid it is beyond the scope of JCE support to troubleshoot and fix layout and styling issues caused by template or component styles, not directly related to JCE itself.

Ryan Demmer

Lead Developer / CEO / CTO

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