Contributions
Category Heading Aspect Ratio Problem
Note: Attachment The Same as Description
Category Heading Aspect Ratio Problem
Problem: The default stylesheet has a fixed pageIcon setting for height=40px
This seems to routinely cause the aspect ratio to display out of proportion...
change templates/default/stylesheet.css #pageIcon to
#pageIcon {
float: right;
margin-right:10px;
margin-top: -20px;
height:100%;
}
adjust the margins to fit your needs...
This mod keeps the image where I want it and keeps Aspect Ratio True to the original file, yet forces it to fit into whatever vertical space is allowed for the heading....
for more on this goto
http://svn.oscommerce.com/jira/browse/OSC-980
| 19 Nov 2009 |
Note: Attachment The Same as Description
Category Heading Aspect Ratio Problem
Problem: The default stylesheet has a fixed pageIcon setting for height=40px
This seems to routinely cause the aspect ratio to display out of proportion...
change templates/default/stylesheet.css #pageIcon to
#pageIcon {
float: right;
margin-right:10px;
margin-top: -20px;
height:100%;
}
adjust the margins to fit your needs...
This mod keeps the image where I want it and keeps Aspect Ratio True to the original file, yet forces it to fit into whatever vertical space is allowed for the heading....
for more on this goto
http://svn.oscommerce.com/jira/browse/OSC-980
Note: Contributions are used at own risk.
