- Posts: 2
- Thank you received: 0
Image Sizing and wrap around Sportal
-
timtryn
Inactive member - Topic Author
- New Member
Less
More
12 years 8 months ago - 12 years 8 months ago #17279
by timtryn
Image Sizing and wrap around Sportal was created 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
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.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 8 months ago #17284
by ivan.milic
Replied by ivan.milic on topic Re: Image Sizing and wrap around Sportal
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.
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.
-
tsiappas
Inactive member - New Member
Less
More
- Posts: 17
- Thank you received: 0
11 years 11 months ago #25268
by tsiappas
Replied by tsiappas on topic Re: Image Sizing and wrap around Sportal
any plug in for doing that?
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 11 months ago #25284
by ivan.milic
Replied by ivan.milic on topic Re: Image Sizing and wrap around Sportal
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
" 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