Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • luismi Friend
    #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 Moderator
    #684992

    Hi,

    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

    Ninja Lead Moderator
    #748843

    Hi,

    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

Viewing 3 posts - 1 through 3 (of 3 total)

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