Image Sizing and wrap around Sportal

  • timtryn
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
12 years 8 months ago - 12 years 8 months ago #17279 by timtryn
Hi, Is there any way that the images used in the news section can be auto-sized. Small on the home page and when the article is opened a larger image is displayed.
Also when adding an article with an image, for the text to wrap around the image, I have to type in the class="home" for it to do it. It does not do it automatically?
Thank you
Last edit: 12 years 8 months ago by timtryn.

Please Log in to join the conversation.

More
12 years 8 months ago #17284 by ivan.milic
You can apply different styling by using menu item page class suffix to wirite different css for them.

You can use :

.contentpaneopen IMG{
margin: 0 10px 10px 0;
float: left;
}

adding this will affect all images in articles.
The following user(s) said Thank You: timtryn

Please Log in to join the conversation.

More
11 years 11 months ago #25268 by tsiappas
any plug in for doing that?

Please Log in to join the conversation.

More
11 years 11 months ago #25284 by ivan.milic
Maybe but you don't need it is relatively simple, if you set page class suffix in menu item for example:
" mypagestyle" you will hen be able to add css like this at bottom of template_css.css:

.mypagestyle .contentpaneopen IMG{
margin: 0 10px 10px 0;
float: left;
}

so that styling will be active only for that page

Please Log in to join the conversation.

Time to create page: 0.150 seconds
Powered by Kunena Forum