Add Custom Code To Header

Posted in: Newspaper
Post count: 40

I use a program called floatbox to trigger a lightbox and I need to add this code to the header

<link rel=”stylesheet” href=”/floatbox_123/floatbox.css” />
<script src=”/floatbox_123/floatbox.js”></script>

I’ve done it in other themes, but not sure where it would go in Newspaper? Can you help please?

If I cannot, then can you suggest a lightbox plugin that does not conflict with your code please?

Post count: 23312

Hello logosi,

Unfortunately, I do not know about your code implementation above because we do not have any tests in this regard. I guess, that you want to put the code in the header section of theme, right? So, you should check the theme core file named header.php and place the code here -> http://screencast.com/t/bR2bTTU5DMpz I cannot say for sue if will work or not but you can try it and check the results. For more information about the code implementation, you should consult this topic here -> https://floatboxjs.com/instructions

Hope this helps!

Thanks for the message!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.