Forum Support

Shape 5
March 29, 2024, 04:50:14 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: background-color: on our intro page  (Read 767 times)
brunsgaard
Jr. Member
**
Offline Offline

Posts: 73



« on: August 22, 2017, 03:27:15 AM »

Hi shape 5

How do I give background-color: # 333333; On our intro page so it only works there and not on the rest of the template?

I can't make it on the body, because in that case it will work on the whole template.

http://brunsgaard-as.com/

Best regards
Thomas
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #1 on: August 22, 2017, 12:16:24 PM »

Hello Thomas,

Unfortunately in order to do this it would require custom coding to achieve. There is nothing in the template that gives the ability to do this out of the box. To point you in the right direction you could add the following php and wrap it around the CSS you want to show online on the homepage. This would be placed in the index.php file:

Code:
<?php if($s5_pos_custom_1 == "published") { ?>

your homepage only CSS code here

<?php ?>

Logged

Jonah Hall
------------
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
brunsgaard
Jr. Member
**
Offline Offline

Posts: 73



« Reply #2 on: August 24, 2017, 01:41:19 AM »

Hi jonahh

It solved my problem. Thank you Smiley

Best regards
Thomas
Logged
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.