• Resolved RoyReed

    (@royreed)


    I want to change the relative width of the Contact Form (using the contact page template) from 6:6 to 8:4. I can see that the 6:6 ratio is set in the virtue-toolkit plugin page-contact.php file, but I can’t work out what I need to add to my child theme’s functions.php file to make it work. Can anyone help please?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey,
    you could change it with css like this. you can add in the apperance > theme options > custom css box.

    @media (min-width: 992px){
        .page-template-page-contact-php #main {
        width:33.33%;
    }
    .page-template-page-contact-php .contactformcase {
        width: 66.66%;
    }
    }
    
    .contactform textarea, .wpcf7 textarea, .contactform input.full, .wpcf7 input {
        max-width: 100%;
    }

    Kadence Themes

    Thread Starter RoyReed

    (@royreed)

    I’d tried doing it with CSS, but obviously hadn’t made it specific enough as my attempt was affecting some other pages.

    Thanks for this – works perfectly.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Contact Form relative width’ is closed to new replies.