Hello,
Anybody can tell me how i can add a new page with information about the website.
I tried different things but nothing works.
I'd liked to add some basic html stuff in a page. A page with the lay-out of the category page.
Thanks
Hello thank you for your reaction.
I understand ut. but one final question. The text is over the full width of the page.
Is it possible to get it like the width of categorie and merchant page?
Like the widt of the line under the search box?
{link saved}
Ah yes, if you wrap the HTML content as follows;
<div class='row'>
<div class='small-12 columns'>
<!-- YOUR HTML CONTENT HERE -->
</div>
</div>
That will do the trick...
I'll make sure this is updated in example.php to accompany the new Responsive HTML template.
Cheers,
David.
--
PriceTapestry.com
Hello wesse, and welcome to the forum!
In the distribution (so in the top level of your website), you'll find a file called example.php. Start with a copy of this file, and save it using a suitable filename, e.g. "about-us.php", and then edit the titles, page meta tags, and of course your main HTML body as required; for example:
about-us.php:
<?php
require("includes/common.php");
$header["title"] = "About Us";
$header["meta"]["description"] = "Meta Description Here";
$header["meta"]["keywords"] = "Meta, Keywords, Here";
require("html/header.php");
require("html/menu.php");
require("html/searchform.php");
$banner["h2"] = "About Us";
require("html/banner.php");
?>
<h1>About Us</h1>
<p>
Welcome to our website! We find and compare the best widget prices.
</p>
<?php
require("html/footer.php");
?>
You mentioned using a layout similar to the Category A-Z page, so to the basic example.php i've added calls to html/menu.php, html/searchform.php and html/banner.php, setting $banner["h2"] to set the on-page title.
To place a link to your new page in the footer of every page, using Foundation's subnav style, rather than edit html/footer.php instead create a new file as follows:
html/user_footer_before.php:
<dl class="sub-nav">
<dd><a href="/about-us.php">About Us</a></dd>
</dl>
Alternatively, if you prefer links at the top, then you could edit html/menu.php instead - just let me know if you're not sure how to layout your menu how you'd like.
Hope this helps!
Cheers,
David.
--
PriceTapestry.com