We use cookies to improve our services and provide a better experience. By continuing to use this site, you agree with our Cookies Policy.

Tutorials
More than 400 step-by-step articles to guide you through online project development.
HomeTutorialsCMS TutorialsosCommerce

How to remove / add the rounded corners to the info boxes on the left or right columns?

Linux Cloud Server
KVM VPS
Windows Cloud Server
USA VPS
cPanel KVM
Brazil VPS
OpenVZ VPS
Ubuntu VPS
Germany Cloud Servers
Linux KVM Hosting

The rounded corners to the information boxes on the left or right columns can be removed or added quite easily by modifying specific file which is named according to the information box. Such files are located in “includes/boxes” directory.

Follow these steps to add or remove rounded corners to info boxes

Start with opening selected file and look for the line that specifies corner type and edit it for your needs. Here we will provide a few examples that we may use for rounded corners.

To remove rounded corners use the following line.

1
new infoBoxHeading($info_box_contents, false, false);

The first “false” value means the left column will be not rounded while the right one will be rounded. This way we can adjust each of the column and set it to be rounded or not.

Set right corner rounded and leave left one not rounded.

1
new infoBoxHeading($info_box_contents, false, true);

Next, make the left one rounded and leave right one not rounded.

1
new infoBoxHeading($info_box_contents, true, false);

Finally, set both corners rounded.

1
new infoBoxHeading($info_box_contents, true, true);

This is how easy we can set each of the corners rounded or not. Once done with editing the file, save it to apply the changes and the corners for the information boxes should be changed accordingly.

Ubuntu VPS
Linux Cloud Server
cPanel KVM
USA VPS
Linux KVM Hosting
Brazil VPS
Germany Cloud Servers
Windows Cloud Server
KVM VPS
OpenVZ VPS
Rate this Tutorial:
No Comments Leave a Comment
Leave a Comment

Other (192)

Popular Keywords