Jump to content

cast and images of the circular team


Rafick
Go to solution Solved by Happy2Play,

Recommended Posts

Rafick

Hello, can anyone help?

I would like to leave the cast and team images circular, I tried this css but it was not successful, I am a layman, thank you in advance


   


 

 

.card.overflowPortraitCard.personCard {

  border: 2px solid  #3333cc;

  border-radius: 50%;

  overflow: hidden;

  z-index:5;

  background-position: center;

  background-color: transparent;

  width: 100px;

  height: 100px;

}

Edited by Rafick
Link to comment
Share on other sites

  • Solution
Happy2Play

Hello, can anyone help?

I would like to leave the cast and team images circular, I tried this css but it was not successful, I am a layman, thank you in advance

 

   

 IMG: https://uploaddeimagens.com.br/imagens/cats-jpg-04665682-f6ed-493d-813d-f831c8d783d3

 

 

.card.overflowPortraitCard.personCard {

  border: 2px solid  #3333cc;

  border-radius: 50%;

  overflow: hidden;

  z-index:5;

  background-position: center;

  background-color: transparent;

  width: 100px;

  height: 100px;

}

 

Something like this

div.personCard {width: auto; }
 
.personCard .cardScalable {
    border: 2px solid #3333cc;
    border-radius: 50%;
    overflow: hidden;
    width: 100px;
    height: 100px;
}
#castContent div.cardText {display: none; }
Edited by Happy2Play
  • Like 1
Link to comment
Share on other sites

Rafick

 

Something like this

div.personCard {width: auto; }
 
.personCard .cardScalable {
    border: 2px solid #3333cc;
    border-radius: 50%;
    overflow: hidden;
    width: 100px;
    height: 100px;
}
#castContent div.cardText {display: none; }

yes , funciona perfeito obrigado 

  • Like 1
Link to comment
Share on other sites

  • 1 year later...
Rafick

This code broke in version 4.4.0.4 ,aguem can help

 

 

Tried

div.cardOverlayContainer.itemAction {width: auto; }
.cardOverlayContainer.itemAction  {
    border: 2px solid #B22222;
    border-radius: 50%;
    overflow: hidden;
    width: 100px;
    height: 100px;
}
Link to comment
Share on other sites

Happy2Play

 

This code broke in version 4.4.0.4 ,aguem can help

 

 

Tried

div.cardOverlayContainer.itemAction {width: auto; }
.cardOverlayContainer.itemAction  {
    border: 2px solid #B22222;
    border-radius: 50%;
    overflow: hidden;
    width: 100px;
    height: 100px;
}

That is just the card overlay (hover)

 

Something like this

div.peopleSection .portraitCard {width: auto;}
div.peopleSection .cardBox {
    border: 2px solid #3333cc;
    border-radius: 50%;
    overflow: hidden;
    width: 100px;
    height: 100px;
}


or this

div.peopleSection .portraitCard {width: auto;}

div.peopleSection .cardPadder-portrait {
    border: 2px solid #3333cc;
    border-radius: 50%;
    overflow: hidden;
    width: 100px;
    height: 100px;
    padding-bottom: 0;
}

div.peopleSection .cardText {display: none;}
Edited by Happy2Play
Link to comment
Share on other sites

Moisés Oliveira

Ficou muito Bommm  :D

Versão 4.4.0.40

 

5e838b073ded9_tela2.png

 

 

div . peopleSection . portraitCard { width : auto ;}


div . peopleSection . cardPadder - retrato {
    borda : 2px sólido # 3333cc;     beira - raio : 50 %;     estouro : oculto ;     largura : 100px ;     altura : 100px ;     estofamento - parte inferior : 0 ; }




 

div . peopleSection . cardText { display : none ;}

 

5e8387b6e6c0c_tela.png

Edited by moisesalvesco
Link to comment
Share on other sites

  • 11 months later...
CyberPoison
On 3/27/2020 at 11:47 PM, Happy2Play said:

That is just the card overlay (hover)

 

Something like this


div.peopleSection .portraitCard {width: auto;}
div.peopleSection .cardBox {
    border: 2px solid #3333cc;
    border-radius: 50%;
    overflow: hidden;
    width: 100px;
    height: 100px;
}

or this


div.peopleSection .portraitCard {width: auto;}

div.peopleSection .cardPadder-portrait {
    border: 2px solid #3333cc;
    border-radius: 50%;
    overflow: hidden;
    width: 100px;
    height: 100px;
    padding-bottom: 0;
}

div.peopleSection .cardText {display: none;}

 

On 2/26/2021 at 8:29 PM, Happy2Play said:

image.thumb.png.ce46c903c4daeb99c6f68e39f7ee092a.png

 

There is many issues like no head showing properly and text on cardcrew i used this code
 

Quote

div.peopleSection .portraitCard {width: auto;}
div.peopleSection .cardBox {
    border: 2px solid #3333cc;
    border-radius: 50%;
    overflow: hidden;
    width: 100px;
    height: 100px;
}
 

 

Link to comment
Share on other sites

Happy2Play
59 minutes ago, CyberPoison said:

 

image.thumb.png.ce46c903c4daeb99c6f68e39f7ee092a.png

 

There is many issues like no head showing properly and text on cardcrew i used this code
 

 

Because that method uses .cardbox so no text, as for image position nothing can be done beside trying another image as all images are not create equally.

Have to use a larger height and width but if you want name/role, also adjusted the image cover as 100% 100% was to distorted for me. 

div.peopleSection .cardPadder-portrait {
    border: 2px solid #3333cc;
    border-radius: 50%;
    overflow: hidden;
    width: 150px;
    height: 150px;
    padding-bottom: 0;
}

div.peopleSection .coveredImage {
    -webkit-background-size: 100%;
    background-size: 100%;

}

 

Link to comment
Share on other sites

Happy2Play

Or something like this

div.peopleSection .portraitCard {width: auto;}

div.peopleSection .cardPadder-portrait {
    border: 2px solid #3333cc;
    border-radius: 50%;
    overflow: hidden;
    width: 100px;
    height: 100px;
    padding-bottom: 0;
}

div.peopleSection .coveredImage {
    background-size: cover;
    background-position: center;
}

div.peopleSection .cardText {display: none;}

cc1.thumb.jpg.d6584e35c293b395f51f15f31215a046.jpg

Or with name/role text, textcard adjusts spacing.  To me just doesn't look right but here is with width/height 100px.

div.peopleSection .cardPadder-portrait {
    border: 2px solid #3333cc;
    border-radius: 50%;
    overflow: hidden;
    width: 100px;
    height: 100px;
    padding-bottom: 0;
    margin-left: auto;
    margin-right: auto;
}

div.peopleSection .coveredImage {
    background-size: cover;
    background-position: center;
}

cc2.thumb.jpg.8f9c9db538ecab802f9b110ce7fd72e5.jpg

Note changing background-position from center to top will have different affects but not all images are created equal.

cc3.thumb.jpg.052ee563db423762c124717aaf7c63fc.jpg

Edited by Happy2Play
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...