Page 1 of 1

Edit the code

Posted: Tue Jul 08, 2014 2:39 pm
by sergio vazquez

Hi, I want to view and edit the code to change the porcentage of an image.

It ́s set to 100% auto in the appery project,

but in the code shows up as:
/* mobileimage_6 */
._00MetepecTemplate_mobileimage_6 {
margin: 0px 0px 0px 0px;
width: 100%; height: 100%;
display: block;
}

I need to change "height: 100%" to "auto" form the source code.

Thnx


Edit the code

Posted: Tue Jul 08, 2014 3:27 pm
by Evgene Karachevtsev

Hello Sergio,

It looks strange, maybe it's a bug. We will check this.
We suggest you better not to change the source code but to override css property in the custom css file.
1) create a new css in Create New-CSS
2) write to it for example this code

codediv ._00MetepecTemplate_mobileimage_6 {
height: auto;
}/code

This selector will have a higher priority and, accordingly, will override the property height


Edit the code

Posted: Wed Jul 09, 2014 9:46 am
by Kateryna Grynko

Hi Sergio,

It works properly for us. Probably you made some changes to source files and need to undo them:
http://devcenter.appery.io/tutorials/...


Edit the code

Posted: Wed Jul 09, 2014 1:29 pm
by sergio vazquez

This but I already fixed the problem. I had to change the header image on each one of my pages.
Thnx for your help.