Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8376595
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T15:28:00+00:00 2026-06-09T15:28:00+00:00

i have tried as much i know about this stuff but failed to show

  • 0

i have tried as much i know about this stuff but failed to show box-shadow over the image.

http://thesameffect.com/healthy-habits-and-distinctions/#related-posts

i want to show shadow overlayed on the images. same like as ..

http://thesameffect.com/blog/

Please kindly help me..

HTML :

<div class="related-posts">
    <h3 class="related-title">Related Posts</h3>
    <ul id="related-posts" class="related-list">
        <li>
            <a title="Permanent Link toHow Genetics and Epigentics Relate to Your Health and Fitness" rel="bookmark" href="http://TheSamEffect.com/how-genetics-and-epigentics-relate-to-your-health-and-fitness/">
                <img class="attachment-Header Square" width="297" height="200" title="genes2" alt="genes2" src="http://TheSamEffect.com/wp-content/uploads/genes2-297x200.jpg">
                <span class="related-heading">How Genetics and Epigentics Relate to Your Health and Fitness</span>
            </a>
        </li>

        <li>
            ...
        </li>   

        <li>
            ...
        </li>
    </ul>
</div>

CSS :

.related-posts ul {
    list-style: none outside none;
    margin: 0;
    padding: 0;
}

.related-list li {
    background-color: #F4F4F4;
    box-shadow: 0 0 10px #000000 inset;
    float: left;
    height: 150px;
    list-style: none outside none !important;
    margin: 0.25em !important;
    overflow: hidden;
    position: relative;
    text-align: center;
    width: 216px;
}

.related-posts ul li a {
    font-size: 14px;
    font-weight: normal;
    line-height: 20px;
    text-decoration: none;
}

.related-posts a {
    color: #F4F4F4;
}

.related-list img {
    display: block;
    margin: 0;
    position: absolute;
}

.related-heading {
    background-color: rgba(0, 0, 0, 0.5);
    bottom: 0;
    font-family: Conv_resea-bolditalic,"Helvetica Neue",Arial,Helvetica,sans-serif,georgia;
    font-size: 16px;
    left: 0;
    min-height: 40px;
    padding: 10px;
    position: absolute;
    width: 90.5%;
    z-index: 1;
}

PHP – WP Codes :

Thats how i am extracting images from genesis.

            $img = genesis_get_image() ? genesis_get_image( array( 'size' => 'Header Square' ) ) : '<img src="' . get_bloginfo( 'stylesheet_directory' ) . '/images/related.png" alt="' . get_the_title() . '" />';

            $related .= '<li><a href="' . get_permalink() . '" rel="bookmark" title="Permanent Link to' . get_the_title() . '">' . $img . '<span class="related-heading">' . get_the_title() . '</span></a></li>';

after doing all this stuff i am still unable to see box-shadow, Actually shadow is there at its actual place but due to z-index i think i am unable to visible shadow.

please kindly help me to resolve the issue.

thank you.

After Solution:

The following code just show the image url in Genesis.

genesis_get_image( array( ‘format’ => ‘url’ ) );

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T15:28:01+00:00Added an answer on June 9, 2026 at 3:28 pm

    Try something like this

    http://jsfiddle.net/esnLn/

    Set the image as div background

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have tried searching over the internet about this problem but not able to
I have searched a lot and tried much but I can not find the
I have tried several things so far, but I haven't had much luck yet.
OK so I have read a fair amount about SQL Server's locking stuff, but
I am newbie to android don't know much about it. I have imported a
I know this is a probable open ended question, and I have tried looking
I have tried used this code for insert feeds in listbox but with youtube
I have already checked earlier questions on SO about this issue but not able
I don't know much about MySQL at all. But I am trying to reverse
i have tried till my head hurts and have been reading so much my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.