Forum Support

Shape 5
March 29, 2024, 09:19:18 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Module Titles S5_h3_first S5_h3_last Problems  (Read 543 times)
ncarota
Jr. Member
**
Offline Offline

Posts: 6



« 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
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #1 on: April 06, 2015, 07:58:30 PM »

Hello,

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

Mike Nicoll
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
ncarota
Jr. Member
**
Offline Offline

Posts: 6



« Reply #2 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
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #3 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

Mike Nicoll
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
ncarota
Jr. Member
**
Offline Offline

Posts: 6



« Reply #4 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
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #5 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

Mike Nicoll
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
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.