question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Borders and Shadows not displayed for images

See original GitHub issue

Hi,

I just replaced Hugo Theme Learn with the theme DocDock on my website https://invincible.site

It is working great but I would like to report a minor issue related to images.

In order to display shadows and borders for my images, I used the following markdown:

![ImageTitle][page link]  

[page link]: /images/Image01.JPG?classes=border,shadow

This is similar to what is described on your documentation under Shortcodes > image menu and it worked fine with the previous theme (Hugo theme Learn) as well.

However, with DocDock, the borders and shadows are not displayed.

I had tested this with the following browsers and none of them are showing the desired results:
Safari,
Firefox 53.0.3,
Google Chrome 58.0.3029.110,
Microsoft Edge 40.15063.0.0,
IE 11 and
Maxathon 4.4.8.1000.

An additional issue with IE and Maxathon web browsers is that theme variants (green and gold) are not reflected, even if they are selected through the config.toml (should I open a separate issue for this?).

Note
Here is a disclaimer about the changes to your CSS that I did. I do not believe that my changes should have an effect on the issues that I reported, but I am stating them for transparency:

  1. I used the template from your gold theme variant to create a theme that reflected the color theme of my website. The only things that I changed were the color values in the CSS variables.
  2. I changed the border-top of the footline to “none”, so that it is not displayed on the pages.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
vjeantetcommented, Jun 19, 2017

can you try to update the theme and tell me i you still have the issue ?

i think this is related to a fixed issue 4 days ago.

ref : https://github.com/vjeantet/hugo-theme-docdock/commit/1af2a78989cc17e90fe3f3494e2dda05be2937e5

0reactions
shaziccommented, Jun 21, 2017

Sure, you can reference my website. I am glad you liked my work.

I will shortly send you the Pull Request with the theme variant.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Border and shadow around image not working - Stack Overflow
The problem is with your .imgouter div. It's like a little window where you show things. Your images are the same size as...
Read more >
Quick tips for adding borders and shadows to pictures in Word
Right-click the picture and select Borders And Shading. On the Borders tab, select the Box setting. Click OK. Click the Drawing button in...
Read more >
Add shadow or border around all images in help center articles
I would like all my images in help center articles to have some sort of border or shadow around them because many of...
Read more >
Hide shadow around image in the UI, not the file itself
Look at Preferences>Interface>Border. inter.png.
Read more >
Remove box shadows and borders from Blogger elements
This post will show you how to remove the shadow from your blog posts, images and headers. Hope you find it useful. Remove...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found