CSS help on Stay theme
-
Hello,
I have been trying to do the following with CSS on the stay theme but I’m struggling
– Add a linkedin icon to the social links in the footer
– On the free quote page, create a contact form on 2 columnsCan anyone can help?
Thanks
The blog I need help with is: (visible only to logged in users)
-
Hi there,
I’m not able to see your blog since it’s marked as private. But you should be able to add the Linkedin icon without CSS. The option is available when creating a social menu. You could also use the social media icons widget in your footer if you don’t have a social menu. You can find more information in the following link: https://en.support.wordpress.com/widgets/social-media-icons-widget/Also to create contact forms, you could use the Contact form shortcodes which have several options for the design of your contact form. You can find more information here: https://en.support.wordpress.com/contact-form/
-
Hi @andilena, Stay does not natively support Linkedin. We could add the URL for your linkedin profile in one of the others and then we could see if we could change the icon, but this comes with an issue. Although we can do it, if you hover over the icon, what will show is the name of the service you put the link in. In other words, if you put in in the Vimeo field, and hovered over the new Linkedin icon, it would say Vimeo.
Can you explain a bit more on what you are wanting on the free quote page? Are you wanting to add something beside the contact form, or are you wanting to move the Request box up beside the other fields?
-
Hello,
Thanks for the quick reply.
Regarding the contact form, I would like to move the request box beside the other fields.Thanks
-
I found another way to display the social media links, but I can’t manage to have the menu moved to the top right of the page and have it on one line with the languages.
Thank you
-
Give the following a try and see what you think.
.secondary-navigation { min-width: 100%; position: absolute; right: 0; } -
That worked, thank you very much!
How about the contact form, I would like to move the request box beside the other fields so I have 2 equals columns, is this possible?
-
On the contact form, we need to make a couple adjustments to the divs you added in that page. We are going to move the styling over to the CSS since that gives us much greater control. Switch to the Text tab and in the first opening div you added, change it to look like this.
<div id="my-contact">
and then change the second opening div to look like this
<div id="my-request">
Then add the following to your custom CSS, at the bottom below everything else.@media screen and (min-width: 600px) { #contact-form-15 { width: 48%; } #my-request { position: absolute; right: 0; top: 0; width: 48%; } #my-contact { position: relative; } }The above CSS is a Media Query which limits this change to 600px and wider screens/windows since things become too narrow below that point if we keep things side-by-side.
-
-
Hi, you haven’t removed the “style” inline CSS styling from within the divs in your contact form page. You need to do that as that is overriding the CSS we are trying to use.
Also, to make the request box wider, replace the CSS I gave before with this.
@media screen and (min-width: 600px) { #contact-form-15 { width:29% } #my-request { position:absolute; right:0; top:0; width:70%; } #my-contact { position:relative } }In the page editor in the text tab, remove this from the my-contact div
style="width:45%;padding:0 0 0 20pt;float:left;"
and remove this from the my-request div
style="width:45%;padding:0 0 0 20pt;float:right;"
Also, do not use points (pt) when working on the web as that is for print media. Use pixels (px), em units or a percentage (%) for dimensional units. -
-
- The topic ‘CSS help on Stay theme’ is closed to new replies.