Hi schoolboy,
Thanks for the fantastic explaination, very clear and I understand now will do that.
![]()
Hi schoolboy,
Thanks for the fantastic explaination, very clear and I understand now will do that.
![]()
Another question along same lines, can this type of code (div id) be done for the HEADING_TITLE in the index file? Tried but didn't work home page no longer displayed. Does it need to be done some other way because this title is in an 'elseif' statement?
![]()
This is the section in that index file that I could like to maybe center, add line spacing to and change colour.
elseif ($category_depth == 'nested') {
// This section deals with displaying a subcategory
/*Replace this line with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/
define('HEADING_TITLE', 'Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution.');
}
Thanks![]()
The following way is a crude hack, but it will work:
define('HEADING_TITLE', 'Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution.');
define('HEADING_TITLE', '<div id="congratsMessage">Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution.</div>');
(Then your stylesheet)...
#congratsMessage {
text-align: center;
color: #d4d4d4;
}
20 years a Zencart User
That text is already well identified. All you need to do is add to your stylesheet
h1#indexDefaultHeading {what: ever;}
The "Welcome Guest..." line can be controlled with
h2.greeting {what: ever;}