Thư viện tri thức trực tuyến
Kho tài liệu với 50,000+ tài liệu học thuật
© 2023 Siêu thị PDF - Kho tài liệu học thuật hàng đầu Việt Nam

Make a Joomla Template in 5 Easy Steps phần 6 potx
Nội dung xem thử
Mô tả chi tiết
S T EP F O UR: AD J U S T T H E S T Y L E SH E E T
So, we have called it ‘optional area’ set ‘show title’ to no, positioned it in the ‘user6’ slot and
set it to published. Now scroll down to the big text area at the bottom of the form and
enter some text. Enter anything you want but try to add a couple of sentences for now.
Now click save and browse to your web site. Scroll to the bottom of the page and you
should see our new module in position just above the footer, like this.
As you can see it’s not formatted very well, so we need to add a style to it. We are going to
do this the same we have for other areas on the index page by adding <div> tags around
the Joomla tag in the index.php file. So open up index.php and change line 39 so it looks
like this:
As you can see we have added this before the Joomla tag:
<div class="dufoptional">
And this after it:
</div>
50