Posts archive for February, 2015

Bootstrap 3: Responsive image align center

advertisement

bootstrapIf you are using Bootstrap 3, you might come into a problem where you can use .text-center to align text to center but not image. There are many different work around to solve this issue including wrapping the image within a .text-center div or overriding the .img-responsive class. Although there are many different work around to align image to center in Bootstrap 3, i just found a very convenient way to solve this issue.

bootstrap-center-image

To align image to center in Bootstrap 3, you can try the code below:-

Continue reading Bootstrap 3: Responsive image align center »

CentOS 7: How to setup TUI Firewall settings?

advertisement

centos-logoFor clean minimum CentOS 7 installation, have to manually install the system-config-firewall-tui. Bad news is that after you install this TUI firewall settings you still can’t execute it instantly, you need to do a little bit more in order for system-config-firewall-tui to be executable.

centos-7-tui-firewall-settings

To setup TUI Firewall settings in CentOS 7, follow the steps below:-

Continue reading CentOS 7: How to setup TUI Firewall settings? »

Prestashop 1.5 – How to enable add to cart button at Home Featured Product?

advertisement

prestashopRecently there is a request to edit a old Prestashop 1.5 site. The request is to add the add to cart button at the home featured product. That particular prestashop site is quite old and did not perform any maintenance and hence all the module is still quite old. To avoid breaking anything in the site, i managed to find out that the add to cart button is being hide using CSS. So to enable the add to cart button is just an easy task at modifying the correct css!

To enable add to cart button at Home Featured Product in Prestashop 1.5, follow the steps below:-

Continue reading Prestashop 1.5 – How to enable add to cart button at Home Featured Product? »