How to make Custom blocks rounded

Hey,

I have installed both of “Custom Block Manager” and “Rounded Corners” plugins. However the blocks that I created with CBM are not rounded and the changes (such as background color) that can be applied to RC plugin do not effect CBM blocks.

Is there any idea to solve the problem?Thanks

no answer from anybody ?

Hi @zaratushtra,

Try editing plugins/generic/customBlockManager/block.tpl and finding the line:

<div class="block custom" id="{$customBlockId}">

Change it to…

<div class="block" id="{$customBlockId}">

Regards,
Alec Smecher
Public Knowledge Project Team

Thank you @asmecher

The solution that you proposed did not change anything, unfortunately .

Hi @zaratushtra,

Perhaps the file permissions in cache/t_compile are incorrect. Try removing all files from there, and see if they’re re-generated as you browse your site.

Regards,
Alec Smecher
Public Knowledge Project Team

Hi @asmecher,

The files in cache/t_compile were not re-generated.and also after removing all the files still no effect.

Hi @zaratushtra,

If files aren’t reappearing there, then your file permissions in cache/t_compile (and possibly the rest of the cache folder) aren’t right. There’s a FAQ entry on file permissions that might help.

Regards,
Alec Smecher
Public Knowledge Project Team

hi @asmecher

after your suggestion about file permissions, the files in cache/t_compile are re-generated. But still this does not solve my problem.

Thanks

Hi @zaratushtra,

What version of OJS are you using? Can you share a URL to it?

Regards,
Alec Smecher
Public Knowledge Project Team

hey @asmecher ,
I m using ojs-2.4.8 and the url is www.ijeecs.net

Hi @zaratushtra ,

It looks like you left a space after the class name. Double-check the edit above.

Regards,
Alec Smecher
Public Knowledge Project Team

hi @asmecher ,

which class do you mean, could you please be more specific ?

Best

Hi @zaratushtra,

There’s an extra space in the modification you made; double-check my suggestion above.

Regards,
Alec Smecher
Public Knowledge Project Team

hi @asmecher ,

that worked perfectly. Many thanks for the help.

Best