Author: pearl

Add custom attribute dropdown (yes/no) magento

For adding a new custom attribute to the category page we need to create a module. In this tutorial I am explaining how to add a featured category custom attribute field to magento backend.
This field allows the client to select which category they want to display in the home page.

create double stroke / border text using CSS

This tutorial I am explaining how to create double stroke / border text using CSS as shown below.

create double stroke / border text using CSS

While developing the website we need to came across the situations like this.We can add the one stroke using the ‘text-stroke’ property and then use the text shadow as shown below.

Html code

<h1 class="heading">
    Double stroke text
</h1>

create double stroke / border text using CSS

<style>
    .heading {
        font-size: 60px;
        -webkit-text-fill-color: #8cc63f;
        -webkit-text-stroke-color: #000000;
        -webkit-text-stroke-width: 2px;
        text-fill-color: #8cc63f;
        text-stroke-color: #000000;
        text-stroke-width: 2px;
        text-shadow: -1px 1px #bd1000, 2px 1px #bd1000, 2px 2px #bd1000, -2px 2px #bd1000;
    }
</style>

Please try the above css code for getting the double stroke text and if you have any further queries please post a comment below.

Please also refer other php and wordpress tutorials

Table Pagination

This tutorial will explain how to add pagination to the table data. Here I am extending the tablesorter plugin. Using this extended version you do the following functionalities

  1. Can display multiple tables on a single page and add the pagination separately
  2. Can change the number of rows to display for each table separately
  3. Can move to the selected pages on a click
  4. Can also use the first, next, previous and last buttons