Can effect be applied to core code?

Replied by paul2higgins on topic Can effect be applied to core code?

Posted 7 years 9 months ago #36280
ok, i will contact them, Thanks for your help

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

Replied by paul2higgins on topic Can effect be applied to core code?

Posted 7 years 9 months ago #36330
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.

Replied by ced1870 on topic Can effect be applied to core code?

Posted 7 years 9 months ago #36331
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

by ced1870

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

Replied by paul2higgins on topic Can effect be applied to core code?

Posted 7 years 9 months ago #36332
just gave it a try, doesn't work :(

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

Replied by paul2higgins on topic Can effect be applied to core code?

Posted 7 years 9 months ago #36333
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.

Replied by ced1870 on topic Can effect be applied to core code?

Posted 7 years 9 months ago #36334
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

by ced1870

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

Time to create page: 0.737 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1343 guests and no members online