Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • moveton Friend
    #730706

    Hello, How мake only “Block Intro Text” in acm module “Features Intro” not h3 withTitle without changing stay h3?

    pavit Moderator
    #748324

    Hi there

    The part you marked is not h3 on this block only title is h3

    If you want to remove it ( h3 from title ) then edit this file templatesuberacmfeatures-introtmplstyle-3.php

    <?php if($helper->get('data.title',$i)) : ?>
    <h3><?php echo $helper->get('data.title', $i) ?></h3>
    <?php endif ; ?>

    Remove the h3 tags or change with some other tag <p></p> or <h2></h2>

    <?php if($helper->get('data.title',$i)) : ?>
    <?php echo $helper->get('data.title', $i) ?>
    <?php endif ; ?>

    moveton Friend
    #748325

    Аt this module Title and “Block Intro Text” are h3! here the code:

    <h3 class=”section-title “>
    <?php if($module->showtitle): ?>
    <span><?php echo $module->title ?></span>
    <?php endif; ?>
    <?php if($helper->get(‘block-intro’)): ?>
    <p class=”container-sm section-intro hidden-xs”><?php echo $helper->get(‘block-intro’); ?></p>
    <?php endif; ?>
    </h3>

    How should I change it, to make only Tile h3?

    pavit Moderator
    #748326

    <blockquote>How should I change it, to make only Tile h3?</blockquote>

    I told you already how to do, make changes on the suggested file above

    This is the code and as you can see there is only 1 h3

    <div class="features-item col-sm-<?php echo 12/$column ?>">

    <?php if($helper->get('data.font-icon', $i)) : ?>
    <div class="font-icon">
    <i class="<?php echo $helper->get('data.font-icon', $i) ; ?>"></i>
    </div>
    <?php endif ; ?>

    <?php if($helper->get('data.img-icon', $i)) : ?>
    <div class="img-icon">
    <img src="<?php echo $helper->get('data.img-icon', $i) ?>" alt="" />
    </div>
    <?php endif ; ?>

    <?php if($helper->get('data.title',$i)) : ?>
    <h3><?php echo $helper->get('data.title', $i) ?></h3>
    <?php endif ; ?>

    <?php if($helper->get('data.description', $i)) : ?>
    <p><?php echo $helper->get('data.description', $i) ?></p>
    <?php endif ; ?>
    </div>
    <?php if ( ($i%$column==($column-1)) || $i==($count-1) ) echo '</div>'; ?>
    <?php endfor ?>
    </div>

    moveton Friend
    #748327

    Thank U for attention, but:
    You tell me about anoter part of code.

    Ive changed part of the code like that. is it correct?:

    <div class=”section-inner <?php echo $helper->get(‘block-extra-class’); ?>” <?php if($featuresImg): echo ‘style=”‘.$featuresBackground.'”‘; endif; ?>>
    <?php if($module->showtitle || $helper->get(‘block-intro’)): ?>
    <div class=”section-title “>
    <?php if($module->showtitle): ?>
    <h3><?php echo $module->title ?></h3>
    <?php endif; ?>
    <?php if($helper->get(‘block-intro’)): ?>
    <p class=”container-sm section-intro hidden-xs”><?php echo $helper->get(‘block-intro’); ?></p>
    <?php endif; ?>
    </div>

    pavit Moderator
    #748345

    <blockquote>Ive changed part of the code like that. is it correct?:</blockquote>

    Yes it is correct , did you solved now ?

    moveton Friend
    #748364

    Thank U Chief

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

This topic contains 7 replies, has 2 voices, and was last updated by  moveton 8 years, 8 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum