Home>Support>Title & font in sidebar visual editer widget plus width of contact form

Title & font in sidebar visual editer widget plus width of contact form

By Eli Langley, 9 years ago. Last reply by Magus, 9 years ago.

Hi I’ve inserted a visual composer widget into the sidebar of my website.

I’d like the heading & font to be the same as in the settings of my website. How do I make this the same. Title colour should be #24b6b7 and size 20 and content size 14.

Also how do I decrease the width of the contact form text box as on my one laptop the box is wider than the sidebar so sticks out of the website border. I’ll send you the login details privately as it has a ‘Coming soon’ page on it.

Also do you know how I’d put the contact form onto the metaslider like on http://fascinationcourt.co.uk/?

URL: http://217.199.187.65/tregowanstives.co.uk/apartment-3/

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 2 months ago Private Message - Eli Langley

    This is a private message.

  2. 9 years, 2 months ago Eli Langley

    You’ll see on the home page how it is meant to look. I didn’t use the sidebar visual composer widget there, I used the pagebuilder visual composer widget & the title & font size is correct.

  3. 9 years, 2 months ago Eli Langley

    Also the visual editor widget in the heading doesn’t use the same settings as the site either. I’d like the link ‘Contact us’ to be the same as the headings in the website and I’ve got it set on ‘Heading 3’ but the font is smaller than it should be.

  4. 9 years, 2 months ago Magus
    Hi, I Work Here

    Hi Elise

    You can fix this with some custom CSS. If you navigate to Appearance > Custom CSS, you’ll get our custom CSS editor. Just add the following code.

    #secondary .widget .widget-title {
        font-size: 20px;
        color: #24b6b7;
        font-weight: normal;
    }
    
    #secondary .widget .textwidget {
        font-size: 14px;
    }
    

    Let us know how you get on

    Magus

  5. 9 years, 2 months ago Eli Langley

    Thank you for your quick response, that worked well.
    What about my 2 other queries or should I open a new ticket for each of them?

    How do I decrease the width of the contact form text box as on my one laptop the box is wider than the sidebar so sticks out of the website border. I’ll send you the login details privately as it has a ‘Coming soon’ page on it.

    Also do you know how I’d put the contact form onto the metaslider like on http://fascinationcourt.co.uk/?

  6. 9 years, 2 months ago Magus
    Hi, I Work Here

    Hi Elise

    Sorry about that, missed the other two questions.

    For the contact form please add this to Appearance->Custom CSS

    #secondary .wpcf7-form-control {
        max-width: 100%;
    }
    

    The overlay feature required for adding a contact form to the slider is part of Metaslider Pro. You can upgrade to this by navigating to MetaSlider->Go Pro.

    Magus

  7. 9 years, 1 month ago Eli Langley

    Hi thank you, the code to keep the contact form within the sidebar worked but now I’ve made a change to the contact form (ie it is now in tables code) it is now going out of the border again. See http://217.199.187.65/tregowanstives.co.uk/apartment-1/.
    Please help.
    The code for the form is

    Your Name (required)

    [text* your-name]

    Your Email (required)

    [email* your-email]

    Telephone

    [text your-telephone]

    Arrival date

    [date* date-209]

    Nights
    Adults
    Children

    [select Nights “7” “14” “21”]
    [select Adults “1” “2” “3” “4”]
    [select Children “1” “2” “3” “4”]

    Your Message

    [textarea your-message]

    [submit “Send”]

  8. 9 years, 1 month ago Eli Langley

    I see the code didn’t show up with the tables etc, you welcome to login to see what I mean, send the login details above

  9. 9 years, 1 month ago Magus
    Hi, I Work Here

    Hi Elise

    Please try this

    <table>	<tbody>		<tr>			<td colspan="3">Your Name (required)</td>		</tr>		<tr>			<td colspan="3">[text* your-name size:30]</td>		</tr>		<tr>			<td colspan="3">Your Email (required)</td>		</tr>		<tr>			<td colspan="3">[email* your-email size:30]</td>		</tr>		<tr>			<td colspan="3">Telephone</td>		</tr>		<tr>			<td colspan="3">[text your-telephone size:30]</td>		</tr>		<tr>			<td colspan="3">Arrival date</td>		</tr>		<tr>			<td colspan="3">[date* date-209]</td>		</tr>		<tr>			<td>Nights</td>			<td>Adults</td>			<td>Children</td>		</tr>		<tr>			<td>[select Nights “7” “14” “21”]</td>			<td>[select Adults “1” “2” “3” “4”]</td>			<td>[select Children “1” “2” “3” “4”]</td>		</tr>		<tr>			<td colspan="3">Your Message</td>		</tr>		<tr>			<td colspan="3">[textarea your-message]</td>		</tr>		<tr>			<td colspan="3">[submit “Send”]</td>		</tr>	</tbody></table>

    The issue is that tables are not responsive. I have redesigned the table to make the most of the space and set the width of the text elements so they do not break the sidebar margin.

    Let us know how you get on

    Magus

  10. 9 years, 1 month ago Eli Langley

    Thank you, that worked for most of it.
    The message text area is still going out – even when I add
    [textarea your-message size:30]

    Also the Adults & Children drop box are completely off the page – do you know how to get it back in?
    [select Nights “7” “14” “21”]
    [select Adults “1” “2” “3” “4”]
    [select Children “1” “2” “3” “4”]

  11. 9 years, 1 month ago Eli Langley

    Actually I think for the 3 apartments I won’t put it into tables as it makes it too complicated & might mess it up when looking on other devices, so don’t worry, thanks.
    Elise

  12. 9 years, 1 month ago Eli Langley

    OK, so I’ve removed the tables so now the checkboxes – Nights / Adults / Children are one under each other.
    It doesn’t look as good as it is so spaced out so if you think of a way for it to go on one line without putting the whole form into a table please let me know. Otherwise don’t worry it’s fine. See http://217.199.187.65/tregowanstives.co.uk/apartment-3/

    I read that you just had to put them on one line, ie -[select Nights “Nights” “7” “14” “21”] [select Adults “Adults””1” “2” “3” “4”] [select Children “Children””1” “2” “3”]
    I tried this on http://217.199.187.65/tregowanstives.co.uk/apartment-1/ – it looks ok but then looks strange after selecting as it doesn’t look right not having the title above each of the drop down options.

    Let me know if you have any suggestions.
    Thanks Elise

  13. 9 years, 1 month ago Magus
    Hi, I Work Here

    Hi Elise

    Please try this in the custom CSS to align the dropdowns with the labels for Apartment 1.

    #secondary .wpcf7-select {
        margin-right: 8px;
    }
    #secondary :first-child.wpcf7-select {
        margin-right: 2px;
        margin-left: 1px;
    }
    

    Magus

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More