Jump to content

Recommended Posts

Hi,

 

You will find all the module files in the modules directory. To edit HTML structure you want to edit .TPL files.

 

If you wish to edit a module (html structure) then:

  • Go to themes/your_theme_name/modules
  • Create subfolders for the modules you wish to customize
  • Copy the original module .TPL files into the above directory
  • Edit the files

This will ensure that you always have original module files, and override them only based on your active theme.

Edited by Carlsen (see edit history)
Link to comment
Share on other sites

if you want to modify block size (not structure) you have to edit css styles for these blocks.

it's not true that you will change SIZE of the blocks in tpl files. it's because everything is defined in stylesheet files.

(you can add inline css styles, but it's not correct way)

Link to comment
Share on other sites

That Is what I did, I edited css files of the module and changed Height and Width to what I need, but without effect on front office.  For example, when I changed the homeslider module size, I got the pictures with thw new size and the pictures hiding my product description (same screen area), but the frame surrounding the pictures remanininbg the same. Is there anything else to do to solve this situation?

 

 

Link to comment
Share on other sites

That Is what I did, I edited css files of the module and changed Height and Width to what I need, but without effect on front office.  For example, when I changed the homeslider module size, I got the pictures with thw new size and the pictures hiding my product description (same screen area), but the frame surrounding the pictures remanininbg the same. Is there anything else to do to solve this situation?

any chance to see it live? if so please share url, it will be much easier to understand the matter the proble mand propose the solution :)

Link to comment
Share on other sites

Yes, This is my website:

http://www.delicattorevestimentos.com.br/online/

 

You will see the sample pictures out of the frame of the module (gray border). I was able to change the picyure size, but the border remainned the same size. The same happens t other blocks, if I solved this one, probably I will be able to colve the same issue I got in Blockstore, block Advertising an so on.  I really appreciate your help.

 

MArco

Link to comment
Share on other sites

Some more new information.

 

I was able to solve the issue with homeslider module. How? In my theme directory, there was not a homeslider directory with tpl file, but the module allowed me to change it size from back office. this changed the picture sizes, but keep the problem regarging the gray frame I mentioned.Then I went to theme directory and I found homeslider .css file there I edited it and the porblem was solved.

 

Problem is still alive:

 

I tried to to the same to other module like block advertising, but there is no configuration size for this module in the back office, but for this block there was a directory in my theme with the .tpl file. I edited it  and got the picture with the new size. Bingo, I just need to edit the .css file and end of the problem.  NO, NO, NO.  For this block (block advertising and other blocks I want to edit, there is no .css file in my theme or in anywhere else. I don´t know what to do, in some case I do not have the .tpl and some case I do not have the .css file.  I tried to reinstall module, force compilation, etc...

 

See left collums with block advertising overlapping the gray frame in http://www.delicattorevestimentos.com.br/online/

 

 

Any help is very welcome.

Link to comment
Share on other sites

×
×
  • Create New...