Panneau N0C 04 EN 250 250
Get 15% discount on our partner PlanetHoster with the code PHA-ceikay

Can effect be applied to core code?

More
10 years 4 months ago #36280 by paul2higgins
ok, i will contact them, Thanks for your help

Please Log in or Create an account to join the conversation.

More
10 years 3 months ago #36330 by paul2higgins
so i found where to edit the code to apply the class, this is the code to which I made the change

$html .= '<div class="effectck-apollo">';
if($fieldsordering == 1 && $listjobconfig==1){
$html .= '<a href="'.$link_viewcomp.'"><img src="'.$path.'" title="'.$job->companyname.'"></a>';
}
but this doesn't work, Can you suggest any help ?

Please Log in or Create an account to join the conversation.

More
10 years 3 months ago #36331 by ced1870
you must apply the css class to the image like this

<img src="/images/yourimage.jpg" class="effectck-lily" title="My title::A little description" />

so in your case it would be
Code:
if($fieldsordering == 1 && $listjobconfig==1){ $html .= '<a href="'.$link_viewcomp.'"><img class="effectck-apollo" src="'.$path.'" title="'.$job->companyname.'"></a>'; }

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
10 years 3 months ago #36332 by paul2higgins
just gave it a try, doesn't work :(

Please Log in or Create an account to join the conversation.

More
10 years 3 months ago #36333 by paul2higgins
I added it like

$html .= '<div class="js-image">';
if($fieldsordering == 1 && $listjobconfig==1){
$html .= '<a href="'.$link_viewcomp.'"><img class="effectck-apollo" src="'.$path.'" title="'.$job->companyname.'"></a>';
}

Please Log in or Create an account to join the conversation.

More
10 years 3 months ago #36334 by ced1870
it works ;)
the problem is the interaction with other css
line 684 in your style.css file on

div#js-jobs-wrapper div.js-toprow div.js-image a img

you have some css to remove

then the second problem is that there is a link positioned in absolute over the image, once you hover it, you are not hovering the image for the effect, but the link !
in fact you don't see the effect

all this is due to the structure of your component, I would suggest to remove the css classes that are in conflict because you can not use the html structure and position of the component, and use image effect in the same time (image effect does not affect the image position ;) )

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

Time to create page: 0.194 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 739 guests and 7 members online