Forum Support

 
Advanced Search


[1]

Offline ncarota
Free Member
Posts: 6
Posted on: 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
Logged

Offline mikenicoll
Free Member
Posts: 20162 WWW
Posted on: April 06, 2015, 07:58:30 PM

Hello,

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

Offline ncarota
Free Member
Posts: 6
Posted on: 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
Logged

Offline mikenicoll
Free Member
Posts: 20162 WWW
Posted on: 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.
Logged

Offline ncarota
Free Member
Posts: 6
Posted on: April 08, 2015, 06:41:27 PM

There are two words in the highlighted in the " Our Services, prices and more" module;

Code:
<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
Logged

Offline mikenicoll
Free Member
Posts: 20162 WWW
Posted on: 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.

Code:
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.

Logged
[1]

Jump to:  


Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Page created in 0.022 seconds with 23 queries.
Need some help getting your site up and running? Be sure to check out our tutorials area, post on the forum or hire us
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.