-
AuthorPosts
-
September 16, 2015 at 11:43 am #684898
Hey guys,
In “Upcoming new events” we have JoomlArt Advanced Custom Module with type: news featured and style: event-slider.
I need to remove the date and insert some text in it’s place. How can i do this?
I think the best way is to change the style: event-slider to style: carousel. However, when i do this i loose the layout style that we have in event-slider option.
Thanks for your help,
Cheers
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
September 17, 2015 at 4:56 am #684992Hi,
You can remove the date and insert some text in event-slider style with the solution below
+ open file templates/ja_charity/acm/news-featured/tmpl/event-slider.php
+ find and remove
<span itemprop="startDate" class="start-date"><?php echo JHtml::_('date', $item->params->get('ctm_start',''), 'DATE_FORMAT_LC3'); ?></span>
+ Open templates/ja_charity/acm/news-featured/css/style.css file
find and change
.event-featured-slider .event-slider .event-item .event-info .post-title {
margin: 0 0 0 44px;
text-transform: uppercase;
font-size: 18px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}to
.event-featured-slider .event-slider .event-item .event-info .post-title {
margin: 0 0 0 44px;
font-size: 18px;
text-overflow: ellipsis;
}About change the style: event-slider to style: carousel. I’m afraid it’s pretty that to do.
Regards
1 user says Thank You to Ninja Lead for this useful post
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
September 17, 2015 at 4:56 am #748843Hi,
You can remove the date and insert some text in event-slider style with the solution below
+ open file templates/ja_charity/acm/news-featured/tmpl/event-slider.php
+ find and remove
<span itemprop="startDate" class="start-date"><?php echo JHtml::_('date', $item->params->get('ctm_start',''), 'DATE_FORMAT_LC3'); ?></span>
+ Open templates/ja_charity/acm/news-featured/css/style.css file
find and change
.event-featured-slider .event-slider .event-item .event-info .post-title {
margin: 0 0 0 44px;
text-transform: uppercase;
font-size: 18px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}to
.event-featured-slider .event-slider .event-item .event-info .post-title {
margin: 0 0 0 44px;
font-size: 18px;
text-overflow: ellipsis;
}About change the style: event-slider to style: carousel. I’m afraid it’s pretty hard and will take time to achieve.
Regards
1 user says Thank You to Ninja Lead for this useful post
-
AuthorPosts
This topic contains 3 replies, has 2 voices, and was last updated by Ninja Lead 9 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum