sergio vazquez
Posts: 0
Joined: Mon May 26, 2014 5:01 pm

Edit the code

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

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Edit the code

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

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Edit the code

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

sergio vazquez
Posts: 0
Joined: Mon May 26, 2014 5:01 pm

Edit the code

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

Return to “Issues”