mrjon
  mrjon
Silver Member
  Friday, 08 September 2017
  7 Replies
  1.5K Visits
0
Votes
Undo
I would like to hide some of the columns in the modal on locations (see screenshot). I have added the following into the jevents custom css which works but it also removes them from the administrator back end meaning we can't manage the back end as the titles disappear.

Here's the code I was using.
.jevlocations thead th:nth-child(1), .jevlocations tbody td:nth-child(1), .jevlocations thead th:nth-child(3), .jevlocations tbody td:nth-child(3), .jevlocations thead th:nth-child(5), .jevlocations tbody td:nth-child(5) {
display:none!important;
}

I tried adding it to my template custom css instead but it has no effect there,
Saturday, 09 September 2017 07:27
·
#193022
0
Votes
Undo
Hello,

For longterm use you would be better creating a template override. if you provide super user logins in the Site Details Tab we can take a look for you.

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

Monday, 11 September 2017 09:02
·
#193048
0
Votes
Undo
Thanks
Tuesday, 12 September 2017 22:29
·
#193160
0
Votes
Undo
Hello,

It would appear your template is not loading the custom.css file into the print window. Can you follow up with Yootheme why this template isn't loading any custom CSS files into the tmpl=component view?

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

Tuesday, 12 September 2017 22:47
·
#193163
0
Votes
Undo
Hi Tony

Getting a reply from Yootheme is like getting blood out of a stone.
I've tralled their forum (also pretty useless) finding the issue goes back to at least 2012. I've managed to find one with an answer which states the following:


You should be able to do so by modifying the file /templates/yoo_template/component.php

In that file you'll see lines starting with $doc->addStyleSheet, typically loading Bootstrap CSS. Right below add a new line, basically identical but pointing to the CSS file you want to be loaded as well. Save, then test.

Note that this file will be overwritten and your modification being lost once you update the template!


Does this help?
Tuesday, 12 September 2017 22:59
·
#193164
0
Votes
Undo
Hello,

Yep that's fine. I've added it in for you now, so your component file loads in: /yoo_finch/css/custom.css

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

Tuesday, 12 September 2017 23:06
·
#193165
0
Votes
Undo
HI Tony

My css override file is yoo_finch/styles/inn/css/custom.css
Should it point to this one?

Also, are you saying I should use my css override now rather than the template overide you mentioned?

Thanks again
Wednesday, 13 September 2017 10:16
·
#193197
0
Votes
Undo
Hello,

You can use either CSS files it's up to you :-).

You can do the template override, but I had read the post slightly wrong and you were just wanting to hide it on the frontend so this way is fine.

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

  • Page :
  • 1
There are no replies made for this post yet.

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.