Hi
Whats the best way to get more content on the homepage? As if you add it to the footer it comes up on all pages. WOuld like it just under the search bar.
Also how do i get the "Search or browse by merchant, category or brand" in to the centre of the page? the site am on about is http://www.getvouchercodes.co.uk/
James
Hi James,
For home page content, it is best to edit index.php directly. For content just after the search bar, look for:
print javascript_focus("search.q");
(line 30 in the distribution) which is the last line of the search form code, and then add your home page content immediately afterwards. To break out of PHP and paste HTML directly, you can close and then re-open the PHP tags as follows:
?>
...your HTML here...
<?php
The reason the "Search or browse by ...." text is left aligned on your page I think is to do with the additional CSS that has been added to index.php - the p {} class in that CSS is text-align: left which is presumably overriding the <div align='center'> from above. To resolve this, you could simply remove the <p> tags from that section and because it is within the search form div it should then align to the center again...
Cheers,
David.