Jump to content

Loyalty points page - no menu + changing icons in social share module


Recommended Posts

Hi,

I'm testing Custom Loyalty Rewards v1.2 (can be found here) and I have one problem. When I open "My loyalty points" from "My account" section in front office, all the blocks from left column disappear.

Does anyone know how to fix this bug?

I use Prestashop 1.5.3.1 and Leo Sportshoes theme (here)

 

And second question:

Does anyone know how to change default social icons displayed in footer of this module with my own? I've looked for them in every css and tpl files of "Lof Advance Footer Module" and "Lof Social Share Module" and I can't find a proper line of code.

I can't simply swap image files, because according to my browser, they're stored on external server (there: http://w.sharethis.com/images/facebook_32.png). :(

Link to comment
Share on other sites

Good morning

 

For question Two go to:

 

public_html/yourtheme/modules/lofadvancecustom/tmpl/default/assets/style.css

 

and around line 48 you should see:

 

#lofadvafooterfooter #lofadva-pos-1 .lof-text ul li.twitter a{

background: url("images/social_twitter.png") no-repeat scroll 0 0 transparent;

}

#lofadvafooterfooter #lofadva-pos-1 .lof-text ul li.rss a{

background: url("images/social_rss.png") no-repeat scroll 0 0 transparent;

}

#lofadvafooterfooter #lofadva-pos-1 .lof-text ul li.facebook a{

background: url("images/social_fb.png") no-repeat scroll 0 0 transparent;

}

#lofadvafooterfooter #lofadva-pos-1 .lof-text ul li.skype a{

background: url("images/social_skype.png") no-repeat scroll 0 0 transparent;

}

#lofadvafooterfooter #lofadva-pos-1 .lof-text ul li.linkedin a{

background: url("images/social_in.png") no-repeat scroll 0 0 transparent;

}

 

And change the image URLs ( it might be better to comment these out and add your own before them, so you can easily change back )

 

Hope this helps

Link to comment
Share on other sites

Thank you for your answear.

I have no "lofadvancecustom" folder in public_html/themes/theme_name/modules/ directory but I have already tried editing these code in:

public_html/themes/theme_name/css/modules/lofadvancecustom/tmpl/default/assets/style.css

and

public_html/modules/lofadvancecustom/tmpl/default/assets/style.css

 

but it doesn't work. It looks like these images are loaded from external server. F.e. facebook image is loaded from

http://w.sharethis.com/images/facebook_32.png

but I can't find a line of code with this link.

Link to comment
Share on other sites

I checked your attachemnt in which you blackened Twitter icon but I don't understand how it helps me.

You said to point URL to my image but the problem is I don't know where to put it. As I said before icons aren't loaded from links in css file that you mentioned in your previous post and it looks like any other css file either.

Link to comment
Share on other sites

Ok, the advanced footer like most modules has it's own image file, see below:

 

public_html/yourtheme/modules/lofadvancecustom/tmpl/default/assets/images

 

So you need to upload your image/s to this file, so you would end up with a url like this:

 

public_html/yourtheme/modules/lofadvancecustom/tmpl/default/assets/images/my_new_image.jpg

 

Just replace the old URL with the new one.

 

It really does not matter where the image is stored, you just have to get the url correct

 

Hope this helps you out

 

Paul

Link to comment
Share on other sites

I think you misanderstood me :P

I know basics of html and css and I know how to replace an image. The problem is I don't know which file contains code that I have to edit. :)

As I said in the first post of this topic, facebook icon is loaded from

http://w.sharethis.com/images/facebook_32.png

and I know that I have to change this url to my own image patch.

I don't know from which file this part of code is loaded. (I obtained image link using Firefox "inspect element" option. But there was only this part of code, no patch to source file).

I have even searched all css and tpl files of "advance footer module" and "social share module" for the phrase "facebook_32.jpg" - name of a file with actual icon but I found nothing :(

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...