Shape 5

Joomla Templates => Zoka Transports - Club => : ncarota April 06, 2015, 12:48:33 PM



: Module Titles S5_h3_first S5_h3_last Problems
: ncarota April 06, 2015, 12:48:33 PM
Hi,

I'm just wondering how you're hardcoding this in and where to make edits. Changing the name of the title removes the markup.

Thanks,
Nick


: Re: Module Titles S5_h3_first S5_h3_last Problems
: mikenicoll April 06, 2015, 07:58:30 PM
Hello,

This should be coded in via the index.php file for the Template.


: Re: Module Titles S5_h3_first S5_h3_last Problems
: ncarota April 07, 2015, 04:40:10 PM
Sorry, I wasn't very clear about my question;

How can I define which words are "S5_h3_first" in the title of a joomla module.

Cheers,
Nick


: Re: Module Titles S5_h3_first S5_h3_last Problems
: mikenicoll April 08, 2015, 06:29:55 PM
Hello,

This will always be the first full word before using the "space bar". Any words after that will use the s5_h3_last class.


: Re: Module Titles S5_h3_first S5_h3_last Problems
: ncarota April 08, 2015, 06:41:27 PM
There are two words in the highlighted in the " Our Services, prices and more" module;

:
<span class="s5_h3_first">Our&nbsp;Services </span>

How do you add markup to the title of the module, or change the amount of words that will be used by "S5_h3_first"?

Cheers,
Nick


: Re: Module Titles S5_h3_first S5_h3_last Problems
: mikenicoll April 08, 2015, 06:58:54 PM
Hello,

If you take a look here:

http://localhost/zokatransports/index.php/tutorials-menu-48/setting-up-module-styles

The styling is based off of the before/after space.

:
First&nbsp;Last

The actual coding is in the index.php file which sets the highlight color chosen in the Template Manager to each of these class styles.