Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust CSS for images in CCK #154

Closed
andygunn opened this issue Apr 18, 2014 · 1 comment
Closed

Adjust CSS for images in CCK #154

andygunn opened this issue Apr 18, 2014 · 1 comment
Assignees

Comments

@andygunn
Copy link

It looks like the CSS stylesheet is putting all images at 100%, instead of following the height/width information in the image tag. This makes some of the images really huge (when browser widths are large) on the CCK pages. For example: Gather Tools and Wireless Equipment.

On a large monitor, the header image scales up and becomes pixelated. The individual small pics of tools do the same thing. The exception is "6-in-1 Screwdriver", which appears to have a different style or something that respects the static sizing.

Let me know if you have questions about how to fix, this - I think some of the classes might need to be set to be static, or just to disable scaling on some of them...

@critzo
Copy link

critzo commented Apr 21, 2014

The following classes have been created to use with images:
full-width
threefourths-width
half-width
onethird-width
floatleft
floatright

@critzo critzo closed this as completed Apr 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants