Site logo

Archived topic

How to get The shadow effect and rounded corners with this site?

5 replies · Started by Cristiano on September 28, 2021

Viewing posts 1–6 of 6

Hi,

I'm trying to get The shadow effect and rounded corners with this site below:

I sent inspiration site in the sensitive area.

To try to get to the current post layout, I'm using, the “Base” from the Cards style dropdown.

I was able to format the cards (meta category position and style) using this information from this topic, Through your support

https://wpshowposts.com/support/topic/formatting-of-cards/

I’m using:

Latest version of the theme: 3.0.4
The Premium GP Plugin • Version: 2.0.3
The WP Show Posts Pro – Developer – 1.2.0

I sent inspiration site in the sensitive area, for you to review

thank you very much for your attention

Can you link us to the page in GP that you are referring to here?

Please use the private info field.

I sent the information in the sensitive area, thanks

I've answered the one on WPSP forums.

As for GP, try adding this CSS:

main#main article.post:hover {
    -webkit-transform: translate(3px,-3px);
    transform: translate(3px,-3px);
}
main#main article.post {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    overflow: visible;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: -webkit-transform .3s;
    transition: -webkit-transform .3s;
    transition: transform .3s;
    transition: transform .3s,-webkit-transform .3s;
    min-height: 0;
    z-index: 0;
    border-radius: 0;
}

main#main article.post:hover:after {
    -webkit-transform: translate(-10px,10px);
    transform: translate(-10px,10px);
}
main#main article.post:after {
    background-size: 6px 6px;
    background-position-y: bottom;
    background-image: -webkit-linear-gradient(
315deg,rgba(13,13,13,.5) 15.11%,rgba(255,255,255,0) 15.11%,rgba(255,255,255,0) 50%,rgba(13,13,13,.5) 50%,rgba(13,13,13,.5) 64.11%,rgba(255,255,255,0) 64.11%,rgba(255,255,255,0) 100%);
    background-image: linear-gradient(
135deg,rgba(13,13,13,.5) 15.11%,rgba(255,255,255,0) 15.11%,rgba(255,255,255,0) 50%,rgba(13,13,13,.5) 50%,rgba(13,13,13,.5) 64.11%,rgba(255,255,255,0) 64.11%,rgba(255,255,255,0) 100%);
    -webkit-transition: -webkit-transform .3s;
    transition: -webkit-transform .3s;
    transition: transform .3s;
    transition: transform .3s,-webkit-transform .3s;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -2;
    top: 0;
    left: 0;
}
This archived topic is closed to new replies.