How can i alter the footer from the post listing?

This can be achieved in three methods:

  1. Edit the default.css file from components/com_rsblog/templates/default/css. Just search for the following class "default_post_info" and edit the CSS definitions for it. You could try adding something similar to:
     
          .default_post_info
          {
          color: #999;
          margin-top: 20px;
          display:none;
          }
     
  2. Edit the posts.php file from components/com_rsblog/templates/default. This file controls the layout of the footer, you can edit the class name, change the order in which the information is dispalyed or remove unwanted information.
  3. Edit the default.php file from components/com_rsblog/views/rsblog/tmpl. You will need to add a custom script that identifies all elements that have the class "default_post_info" and add the following attribute to them: style="display:none;". The script should be similar to:
     
          <script type="text/javascript">
          window.addEvent('domready', function() {
          hide = new Array();
          hide = document.getElementsByClassName('default_post_info');
          for (i=0;i<hide.length;i++) hide[i].style.display='none';
          });
          </script>
     

One person found this article helpful.


Was this article helpful?

Yes No
Sorry about that

You Should Also Read

Adjusting the component's look and feel

How to remove the hovering style from the front-end post adding form?