Page no: W32
Table of contents
Explanation |
Video and Pics |
Canvas for Doc Site
|
How-to:
|
Images in GrapheneWe have problem with showing the images after every update of graphene plugin. We need to change every time some values into core css file. It is necessary, because the default view of the images is different than the way we want to show. We want to show the images in heigh, which we are defined. The core plugin shows the image in height based on the width. We need to make changes every time into file style.css in core graphene template ( /httpdocs/wp-content/themes/graphene/style.css ). On line 1226 you will see the code for the images:
You have to comment or delete the height value. The new code has to be this:
And this will resolve all our problems with images. |
|
|
|
We have problem with showing the images after every update of graphene plugin. We need to change every time some values into core css file. It is necessary, because the default view of the images is different than the way we want to show. We want to show the images in heigh, which we are defined. The core plugin shows the image in height based on the width.
We need to make changes every time into file style.css in core graphene template ( /httpdocs/wp-content/themes/graphene/style.css ). On line 1226 you will see the code for the images:
.entry-content img,
.wp-caption {
max-width: 98%;
height: auto;
}
You have to comment or delete the height value. The new code has to be this:
.entry-content img,
.wp-caption {
max-width: 98%;
/*height: auto;*/
}
And this will resolve all our problems with images.
See more for