Can effect be applied to core code?
- paul2higgins
- Offline Topic Author
- New Member
- Posts: 18
- Thanks: 0
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
by paul2higgins
Please Log in or Create an account to join the conversation.
- paul2higgins
- Offline Topic Author
- New Member
- Posts: 18
- Thanks: 0
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 ?
$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 ?
by paul2higgins
Please Log in or Create an account to join the conversation.
you must apply the css class to the image like this
so in your case it would be<img src="/images/yourimage.jpg" class="effectck-lily" title="My title::A little description" />
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.
- paul2higgins
- Offline Topic Author
- New Member
- Posts: 18
- Thanks: 0
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
by paul2higgins
Please Log in or Create an account to join the conversation.
- paul2higgins
- Offline Topic Author
- New Member
- Posts: 18
- Thanks: 0
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>';
}
$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>';
}
by paul2higgins
Please Log in or Create an account to join the conversation.
it works
the problem is the interaction with other css
line 684 in your style.css file on
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 )
the problem is the interaction with other css
line 684 in your style.css file on
you have some css to removediv#js-jobs-wrapper div.js-toprow div.js-image a img
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