HelixUltimate indent in tables Topic is solved

Everything to do with Joomla! 3.x templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
domingoaz
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Fri Oct 31, 2014 7:52 pm

HelixUltimate indent in tables

Post by domingoaz » Fri Jun 30, 2023 9:28 am

Hello.
Please help me to deal with the following css conflict in Helix Ultimate:
I want set the indent of the first line in the articles 30 pixels,
and indent first line in tables - 1 pixel.
When I simultaneously add in the custom css:
p { text-indent: 30px; } and
.article-details table td {border: 1px solid #d1d1d1; text-indent: 1px ; }
then all indents in the tables also become 30 pixels, and 1 pixel is required.
https://7promeniv.com.ua/index.php/lite ... rysmehist

User avatar
Pavel-ww
Joomla! Ace
Joomla! Ace
Posts: 1638
Joined: Tue Jun 30, 2020 12:17 pm

Re: HelixUltimate indent in tables

Post by Pavel-ww » Fri Jun 30, 2023 9:43 am

domingoaz wrote:
Fri Jun 30, 2023 9:28 am
Please help me to deal with the following css conflict in Helix Ultimate:
Hi. There is no conflict and has nothing to do with Helix. Only basic HTML/CSS knowledge.

Do not use <p></p> inside the table.
1.jpg
Or use

Code: Select all

[itemprop="articleBody"] > p {
	text-indent: 30px;
}
instead of p {text-indent: 30px;}
You do not have the required permissions to view the files attached to this post.

domingoaz
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Fri Oct 31, 2014 7:52 pm

Re: HelixUltimate indent in tables

Post by domingoaz » Fri Jun 30, 2023 10:01 am

Thanks for the answer. However, I don't know how to do it (do not use <p></p> inside the table). I just use tinymce. There are many tables on the site and it is difficult to edit them manually through HTML. Is it possible to set this parameter somehow for all articles?

domingoaz
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Fri Oct 31, 2014 7:52 pm

Re: HelixUltimate indent in tables

Post by domingoaz » Fri Jun 30, 2023 10:07 am

This issue occurred when I upgraded Joomla 3 to Joomla 4.

User avatar
Pavel-ww
Joomla! Ace
Joomla! Ace
Posts: 1638
Joined: Tue Jun 30, 2020 12:17 pm

Re: HelixUltimate indent in tables

Post by Pavel-ww » Fri Jun 30, 2023 10:27 am

domingoaz wrote:
Fri Jun 30, 2023 10:01 am
Is it possible to set this parameter somehow for all articles?
Yes. Replace your code with following

Code: Select all

.article-details p { 
    text-indent: 30px; 
} 
.article-details table td {
    border: 1px solid #d1d1d1; 
}
.article-details table p {
    text-indent: 1px;
}

domingoaz
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Fri Oct 31, 2014 7:52 pm

Re: HelixUltimate indent in tables

Post by domingoaz » Fri Jun 30, 2023 10:49 am

Thanks a lot, it worked for all articles.


Post Reply

Return to “Templates for Joomla! 3.x”