• Hi I tried to adjust the width of the block cover image and it doesn t work.

    1- Section Contact form background cover I put:

    .wp-block-cover__image-background .wp-image-2804 {
    max-width: 1193px
    }

    2- Section Resume file download, the black cover: I want full width

    .wp-block-cover__image-background .wp-image-2464 {
    max-width: 6000px
    }

    3- And finally, I would like the same font for the Download button identical as the font Open resume, and have the hover Open resume white instead of black. I put

    .wp-block-file a.wp-block-file__button {
    background-color:#0000 ;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    font-family: Alegreya Sans;
    display: inline-block;
    	font-size: 14px;
    margin: 6px 15px;
    cursor: pointer;
    }

    Thank you so much for your help and time

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • If you want to address an element that has 2 classes that you see as a condition, then you must write the selector without spaces.

    Wrong:
    .wp-block-cover__image-background .wp-image-2464 {

    Correct:
    .wp-block-cover__image-background.wp-image-2464 {

    You should be able to customize the button with this:

    .wp-block-file a.wp-block-file__button {
    text-decoration: underline;
    font-family: Alegreya Sans, sans-serif;
    text-transform: uppercase;
    font-size: 15px;
    }
    • This reply was modified 2 years, 7 months ago by threadi.
    Thread Starter san2102

    (@san2102)

    Thank you so much for your time, I was able to manage the size of the 2 covers.
    I am very happy.

    For the font button, I still have not the same font (I don’t know if one is bold and the other one not, they don’t look the same and I don’t know how to have both the same.
    Also, the link open resume on hover is still black and not visible, I would like to have it white as well.

    Thanks again, it is very appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Block cover size’ is closed to new replies.