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?

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

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.

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

Other (192)

Popular Keywords