Jump to content

[SOLVED] Change size of 'block advertising' image


peepo

Recommended Posts

Hello, I need a larger px picture for the block advertising.

I have managed to change the size of the block itself, but the images I upload are still being resized to the old block size. I have looked through the code and cannot find what is restricting the picture size to old size.

Does anyone know here that piece of code is?

Thanks

Link to comment
Share on other sites

Hi, thanks for the reply.

Yes Ive opened up every page related to the module and changed any image size code I can find. I will reset now and see if that works...

 

I reset and nothing changed.

So am not able to work out what code forces the image to be displayed smaller than I want :(

Link to comment
Share on other sites

i think i got it actually.

So in the root, modules folder there is blockadvertising folder. I edited the php and tpl where the width and height attributes are.

I then copied that blockadvertising folder to my modules folder under my theme folder. (if you don't already have a module folder then create one)

Link to comment
Share on other sites

i think i got it actually.

So in the root, modules folder there is blockadvertising folder. I edited the php and tpl where the width and height attributes are.

I then copied that blockadvertising folder to my modules folder under my theme folder. (if you don't already have a module folder then create one)

 

Hi, I have a modules folder in my theme folder, but its within the css folder. Do you mean copy main modules folder contents to that themes/prestashop/css/modules folder, or to create a new modules folder in the theme root folder?

Link to comment
Share on other sites

  • 3 years later...

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...