Changing table height in articles

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Mon Mar 20, 2017 10:40 am
Reply with quote
Report this post
Hello.
I have been trying to edit articles using table function in the JCE editor as it seems more neat by doing so.
and every content in the table seems to have a "fixed" height for every row.
I can change the row height to a higher number to increase its height, but not the other way around.
I tried editing the row height by (row > table row properties > general > height) and it is no use.
same with (cell > table cell properties > general > height)
I'm only using Font:12 as you can see in the picture and the row height seems to be twice as much.
I want it to be able to reduce the row height to my desire.
Changing the font to 10 or 8 does not seem to help reducing the height of the row neither.
Is there any way to do so by editing the .css?
User avatar
Fresh Boarder

GK User
Thu Mar 23, 2017 9:27 am
Reply with quote
Report this post
also im getting this message.
Notice: Undefined property: ContentViewCategory::$maxLevelcat in C:\xampp\htdocs\Joomla_GK_CH\templates\gk_cloudhost\html\com_content\category\default_children.php on line 28
is there anyway i can fix this from appearing on my site?
I use – Articles » Category List on that page and it is the only page which its says that
User avatar
Fresh Boarder

teitbite
Sun Mar 26, 2017 3:14 pm
Reply with quote
Report this post
Hi

The "Notice: Undefined property" is most probably because of PHP version, so it may not appear on a live server. But if it does it can simply be hidden by reducing error showing level in global joomla configuration or in php.ini

For the table row issue I will need to see it on a live site first, so I'll be able to check with dev tools what css can be applied.
User avatar
Moderator

GK User
Wed Jul 12, 2017 8:07 am
Reply with quote
Report this post
Sorry for taking so long to put the site online.
i was wondering if your will still help me with the table height issue?
User avatar
Fresh Boarder

teitbite
Mon Jul 17, 2017 2:46 pm
Reply with quote
Report this post
Hi

Of course I'll help. Please just tell me the url to the page where I'll be able to see the table from screenshot.
User avatar
Moderator

GK User
Tue Jul 18, 2017 4:01 am
Reply with quote
Report this post
User avatar
Fresh Boarder

teitbite
Wed Jul 26, 2017 12:02 pm
Reply with quote
Report this post
Hi

Please add this code to override.css and make sure override is enabled in template settings.

Code: Select all
tbody tr td {
    padding: 0 10px;
}
User avatar
Moderator

GK User
Thu Jul 27, 2017 8:43 am
Reply with quote
Report this post
I'm sorry.
I have found the override.css file and input the code.
but where is template settings and how do I enable override.css?
User avatar
Fresh Boarder

teitbite
Mon Jul 31, 2017 12:14 pm
Reply with quote
Report this post
Hi

Template settings are in template's configuration. Please go to Extensions->Templates->Template Style->gk_cloudhost->Advanced.

If You can't see tabs when going into template's style it means You're template is not updated.
User avatar
Moderator

GK User
Tue Aug 01, 2017 8:22 am
Reply with quote
Report this post
it appears that my template is not updated according to your instruction.
can you please let me know how I can update my template(CloudHost) without removing my files&settings, etc?
Thank you for any help you can provide.
User avatar
Fresh Boarder

teitbite
Mon Aug 07, 2017 11:49 am
Reply with quote
Report this post
Hi

To see the tabs You require just one modification:

Try to change the following line from /admin/scripts/js file:

Code: Select all
var type = items[i].split('=')[0].test(/^\d+$/) ? 'ItemID' : 'Option';



into:

Code: Select all
var type = !isNaN(items[i].split('=')[0]) ? 'ItemID' : 'Option';
User avatar
Moderator

GK User
Mon Aug 14, 2017 5:25 am
Reply with quote
Report this post
I have changed the following line according to your description.
but I still can't seem to go into the Extensions->Templates->Template Style->gk_cloudhost->Advanced
please let me know if there's anything else I need to change.
thank you.
User avatar
Fresh Boarder

teitbite
Wed Aug 16, 2017 2:04 pm
Reply with quote
Report this post
Hi

That's the only modification You need. Here I'm attaching a file I've done this modification myself so You can just replace it and be sure it's correct. Make sure to clear browser's cache after replacing this file.
User avatar
Moderator

GK User
Thu Aug 17, 2017 8:07 am
Reply with quote
Report this post
thank you so much for your help and hard work!
It shows the tabs after using the script u provided.
and the override worked as intended now(table height).
thank you!
User avatar
Fresh Boarder

teitbite
Thu Aug 24, 2017 8:05 am
Reply with quote
Report this post
Hi

Happy to hear that. Closing this thread than.
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.