Shopping Basket

 x 

Cart empty


Log In

Find Us Elsewhere

SSL

Forum Search

Keyword
× Tell us and our members who you are, what you like and why you became a member of this site.
We welcome all new members and hope to see you around a lot!

featureditemsheading in Featured Item Pro module

  • Sonictech
  • Sonictech's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
7 years 1 day ago #461 by Sonictech
I was wondering if there was a way to disable the featured item heading in the module?

I currently have it set to:

.featureditems_pane h3{
text-align:left;
font-size: 1.0em;
padding-right:6px;
padding-top:6px;
padding-bottom:6px;
padding-left:0px;
visibility:hidden;
}

The only thing wrong with this it will hide all <h3> tags in your modules.

Thanks,
Shawn

Please Log in or Create an account to join the conversation.

More
7 years 1 day ago #462 by boggler
Can you tell me which layout you are using? It is possible to remove the heading from the template but the details of how to do this depend on which layout you are using.

With the default layout you need to edit the module file tmpl/default.php, change line 11 from
<div class="featureditems_item<?php echo $params->get('moduleclass_sfx'); ?>"><<?php echo $params->get('headertag','div'); ?> class="featureditemsheading<?php echo $params->get('moduleclass_sfx'); ?>"><a href="<?php echo $item->link; ?>" class="featureditems<?php echo $params->get('moduleclass_sfx'); ?>"><?php echo $item->heading; ?></a></<?php echo $params->get('headertag','div'); ?>>

to
<div class="featureditems_item<?php echo $params->get('moduleclass_sfx'); ?>">

Please Log in or Create an account to join the conversation.

Moderators: boggler
Time to create page: 0.418 seconds

Donate to Us

If you like our extensions, consider making a donation to say thanks.