Support Forums

Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Title font size for ns2 module

Featured Lock Resolved
I replaced the slider in Neo by another copy of ns2.
For this module only I need to enlarge the font size of module title

I tried to use module class suffix (seems not to work at all) and other advices from this forum but nothing helps.

Can You please advice me?

Joomla 3.1

6 Answers

Jakir hasan - Staff

More than a month ago #Permalink
Hi Manege,
Welcome to joomshaper forums. Please give your website URL......

Thanks

Manege

More than a month ago #Permalink
Hi !
Still could not find a solution ;-(

URL of website is: v3.circusnews.net

While titles of most news_show_sp2 modules are fine, I want to get a larger headline above the large image-slider top left
Can You help?

I already tried to do it by moduleclass_sfx (added the lost part as suggested in Your forum) but can't get further

unique ID of module is "dehdl"
suffix is "headline"

Thanks for help!
Peter

Jakir hasan - Staff

More than a month ago #Permalink
Hi Manege,
You have to override css. Just copy this css and paste it template.css
 h4.ns2-title{font-size: 30px !important;}


See the screenshot https://www.copy.com/s/TfNDoCEDJtaC/title.png

Thanks

Manege

More than a month ago #Permalink
Thanks Jakir!

I appreciate Your advice, but this enlarges the titles in ALL modules of this type.
As the modules at other positions are smaller, title is far too big then.

Any suggestion to enlarge the title of 1 news-show module only?

Manege

More than a month ago #Permalink
I do not know if this is correct, but it works.

I added the module_sfx parameter to the title class in default.php in modules tmpl directory, so that it looks like this:

<h4 class="ns2-title<?php echo $params->get( 'moduleclass_sfx'); ?>">


then I added to modules css file

h4.ns2-title-headline {
font-size: 30px;
}


when writing "-headline" in the modules suffix field title is enlarged for this modiule only.

There might be better ways, but this one is at least better than nothing ;-)

Jakir hasan - Staff

More than a month ago #Permalink
Hi Manege,
You edited php for font size . If you think this is ok, you can use it........

Thanks


There are no replies made for this post yet.
Be one of the first to reply to this post!

Leaderboard (30 days)

Sifat

Sifat

Total Accepted Answers: 101
Toufiq

Toufiq

Total Accepted Answers: 87
Paul Frankowski

Paul Frankowski

Total Accepted Answers: 86
Kamruzzaman Alam

Kamruzzaman Alam

Total Accepted Answers: 2
Rifat Wahid Alif

Rifat Wahid Alif

Total Accepted Answers: 2

115

Templates

295673

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us