Lesson 22: Display Contents On The Main Page Only
You may have noticed how certain elements of your blog disappear when you navigate away from the main page. This is caused by a small attribute, and it can be utilized for other things. For example, if you want the big picture of the scenery you photographed while out nature hiking to be the primary focus to the viewers that load your home page, but you don't want it to be in the way when they navigate to other posts, simply add these tags around the content you want to be hidden when the viewer moves on from the home screen:
<MainOrArchivePage>
Content to be hidden and all coding for elements, etc. here
</MainOrArchivePage>
Note that anything that is wrapped in a table must be either inside these tags, or use the tags inside of the table, widget, etc.
0 Comments:
Post a Comment
Comments are always welcome, please have respect when addressing other's.
<< Home