Customize footer in ojs 3.1

Dear all,
Regarding the footer image, I have some questions:

  1. How to decrease the image size (platform & workflow by OJS/PKP)?
  2. How to customize the position?

@asmecher
@israel.cefrin
@NateWr

@kawahyu,
I have worked out a way I could. Not ideal though.
If you like it, i can share the code. Have a look in ours.

https://jlmc.edu.np

Best regards
@anupent

That is nice…
Thanks a lof @anupent

We hide the default footer image with the following code in css file:

.pkp_brand_footer {
    display: none;
}

The following code goes into the footer section of our journal under “Website” → “appearence”.

<div id="ojsBrand"><a href="https://pkp.sfu.ca/ojs/" target="_blank"><img src="https://jlmc.edu.np/public/site/images/anupent/ojs_brand.png" alt="OJS Brand" /></a></div>

Then, following code goes into css.

#ojsBrand {
float: right;
margin-top: -1em;
}

#ojsBrand img{
width: 30%;
float: right;
}

Hope this works in yours.

Regards,
@anupent

2 Likes

To @anupent,
That’s odd. I am able to visit your site only through Tor browser. Something is blocking a direct access.

Never heard of such problem.

@kawahyu is able to visit it, I think he is from indonesia.

@Vitaliy, can you think of anything that is blocking your access? I am clueless.

Regards,
@anupent

1 Like

ping

@Vitality,

Thanks for pointing it out.

I think I need to talk to our hosting provider.

Note: Made a complaint to hosting provider.

Regards,
@anupent

The signal is lost somewhere outside our country (in Canada?):

|                  host-9-104.emplot.net -    0 |   36 |   36 |    2 |    9 |  133 |    2 |

|                   No response from host -  100 |    7 |    0 |    0 |    0 |    0 |    0 |

|               be100-1102.fra-1-a9.de.eu -   34 |   15 |   10 |   37 |   39 |   49 |   37 |

|                   No response from host -  100 |    7 |    0 |    0 |    0 |    0 |    0 |

|                  po5.sbg-vac1-a75.fr.eu -   34 |   15 |   10 |   39 |   43 |   51 |   39 |

|           sbg-vac1-a75-1-firewall.fr.eu -   22 |   19 |   15 |   38 |   41 |   51 |   39 |

|             sbg-vac1-a75-2-shield.fr.eu -   34 |   15 |   10 |   39 |   43 |   51 |   39 |

|                    sbg-vac1-a75-3.fr.eu -   22 |   19 |   15 |   38 |   41 |   51 |   39 |

|                   No response from host -  100 |    7 |    0 |    0 |    0 |    0 |    0 |

|                 vl1308.bhs-g1-a75.qc.ca -   34 |   15 |   10 |  126 |  130 |  143 |  129 |

|                  be50-5.bhs-3b-a9.qc.ca -   22 |   19 |   15 |  126 |  128 |  138 |  126 |

|                   No response from host -  100 |    7 |    0 |    0 |    0 |    0 |    0 |

|                   No response from host -  100 |    7 |    0 |    0 |    0 |    0 |    0 |

|                   No response from host -  100 |    7 |    0 |    0 |    0 |    0 |    0 |

|                   No response from host -  100 |    7 |    0 |    0 |    0 |    0 |    0 |

|                   No response from host -  100 |    7 |    0 |    0 |    0 |    0 |    0 |

|                   No response from host -  100 |    7 |    0 |    0 |    0 |    0 |    0 |

|                   No response from host -  100 |    7 |    0 |    0 |    0 |    0 |    0 |

Our server is in Canada. So, there may be some problem there.

I am waiting for the reply from hosting company.

Regards,
@anupent

Hi @anupent
Could you help identifying the gray line?

image

I want to delete/hide it. I have tried but could not find it

http://antologimatematika.id

Dear @Vitaliy,
Can you let me know which country you are from?

Hosting company has said there has been a few suspicious activities from Russia and some neighboring countries and a few IPs has been blocked. They have now unblocked all IPs from Russia.

They will gradually unblock others IPs too. I will request for IPs belonging to your country to unblock immediately.

Regards,
@anupent

Hi @kawahyu, can you try following CSS codes:

.obj_issue_toc .section::before {
  border-top: 0;
}

Regards,
@anupent

From Ukraine.

The site is still not available without Tor. Thinks, it is not a good practice for a provider to block all access to the site on a country basis.

1 Like

Thanks for the info again @Vitaliy,

I have asked them to remove all the blocked IPs. Hope it will be accessible from all over the world soon.
Note: They have replied that they have flushed all blocked IPs except a few which seem obviously involved in brute Force attempt.

Can you please confirm whether it is now available from your place without tor.

Regards,
@anupent

My service provider blocks even my ip address once a blue moon even after whitelisting my id address. Lol

1 Like

Works now.

Obviously, a permanent block on a country level is useless.

1 Like

Hey @anupent,
Thank you for this ocde. Just a n00b question. Where to put first and second css?

Hi @gett,
I forgot your original question and what I had posted.
Can you please reply in the post I had posted or paste a link here in your post.

Sorry mate,

Hi again @anupent
My original question is Different footer in 3.1 compared with 3.02

But I’m asking were to post css files from this thread Customize footer in ojs 3.1 - #4 by anupent