• Resolved RDOwens

    (@rdowens)


    I am trying to change the look of the verse block when I publish a poem.

    I thought I had done things properly, but I am not seeing the updates on posts that have the verse block.

    I have added the following to the Customizer (have even tried it in the theme stylesheet. Obviously, I am missing something.

    wp-block-verse {
    width: 500px;
    background-color: #f9f9f9;
    border: 2px solid #ccc;
    border-radius: 6px;
    box-shadow: 1px 1px 1px #ccc;
    font-style: italic; hspace=3
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • For valid CSS, it would be

    .wp-block-verse {
    width: 500px;
    background-color: #f9f9f9;
    border: 2px solid #ccc;
    border-radius: 6px;
    box-shadow: 1px 1px 1px #ccc;
    font-style: italic; 
    }

    (I put a dot in front of the class name, and removed the hspace part.)
    But this is not good CSS, because it uses a fixed width and not all screens have 500 pixels or more to show your content.
    I did check to see that .wp-block-verse is the correct selector.

    Thread Starter RDOwens

    (@rdowens)

    Thank you. That did what I was looking to do. I appreciate the help.

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