Custom Java / CSS

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
Wed May 01, 2013 6:02 pm
Reply with quote
Report this post
Hello,

Trying to add custom JS and CSS to a list of images which do not seem to work.
This isn't the first time i have had problems with similar things.

The CSS I add to override doesn't seem to work, Therefore I add it to template.css and style, which normally seems to be okay.

Am I linking these wrong or completely going the wrong way when it comes to customizing templates.

:(

http://www.visuallinemedia.com/index.php?option=com_k2&view=item&layout=item&id=141&Itemid=632
User avatar
Junior Boarder

GK User
Thu May 02, 2013 10:36 am
Reply with quote
Report this post
Hi,
can you explain what you want to achieve ? Maybe CSS code isn't good.
User avatar
Gold Boarder

GK User
Thu May 02, 2013 1:28 pm
Reply with quote
Report this post
This probably comes under Template customization tbh.
What I was trying to achieve was a image overlay.

The example I was using is: http://tympanus.net/Development/GammaGallery/
User avatar
Junior Boarder

GK User
Thu May 02, 2013 1:36 pm
Reply with quote
Report this post
I checked link from previous post. It look's that image gallery isn't loaded. I check in source code and I don't see any images.
User avatar
Gold Boarder

GK User
Thu May 02, 2013 1:55 pm
Reply with quote
Report this post
It's because when it links to the CSS is breaks.
I have just broken the CSS link and now the images display.

Would this suggest the CSS is wrong? or is it because it can't reference the JS?
User avatar
Junior Boarder

GK User
Thu May 02, 2013 2:11 pm
Reply with quote
Report this post
If you want your gallery work correct you need to have correct link to CSS and JS files for this gallery.
User avatar
Gold Boarder

GK User
Thu May 02, 2013 2:23 pm
Reply with quote
Report this post
I'm aware of that.
What is the best way to do this.

Enter my CSS in Template.css?
Or on the Page add something like <link rel="stylesheet" type="text/css" href="css/jscustom.css" />
Likewise with the Java
User avatar
Junior Boarder

GK User
Thu May 02, 2013 3:56 pm
Reply with quote
Report this post
Please try inclue files in layouts/blocks/head.php
User avatar
Gold Boarder

GK User
Thu May 02, 2013 6:59 pm
Reply with quote
Report this post
Perfect that is exactly what I needed!
Thank you Konrad M, Great help!

:)
User avatar
Junior Boarder


cron