-
AuthorPosts
-
November 15, 2016 at 11:38 am #712408
Hi
Please give an example CSS that would change the vertical position of
(1) button
(2) an icon
within a color section.
I’ve searched high and low and was surprised this question hasn’t been asked before on enfold. I’m sure the answer would be useful to others.
Please just post an example in px and I can change it around.
That would be very much appreciated.
Thankyou again!
Richard
November 15, 2016 at 12:50 pm #712455Hey richardbeatty!
I’m not sure what you meant by vertical? is it rotating it 90 degrees? to have buttons in vertical mode. For example you add an ID to the color section: custom-section, the button code would be like this (in Quick CSS):
#custom-section .avia-button { -moz-transform: rotate(-90deg); -ms-transform: rotate(-90deg); -o-transform: rotate(-90deg); -webkit-transform: rotate(-90deg); }
and icon code is like this:
#custom-section .iconbox_icon { -moz-transform: rotate(-90deg); -ms-transform: rotate(-90deg); -o-transform: rotate(-90deg); -webkit-transform: rotate(-90deg); }
Hope this helps.
Regards,
NikkoNovember 16, 2016 at 2:20 am #712689I mean change the vertical position as in – moving up or down.
Sorry about the confusion.
Thanks
Richard
November 16, 2016 at 5:18 am #712748Hey Richard,
Can you post an example or an image of what you want to achieve? you can post it in http://imgur.com/ or dropbox and post the link to the image here.
Regards,
NikkoNovember 16, 2016 at 6:27 am #712761Hi, moving the button (on the main image) up – that’s all
Please see the link
many thanksNovember 16, 2016 at 6:58 am #712774Hi!
Try adding this code in your Quick CSS:
.home #av_section_1 .avia-button { position: relative; top: -300px; }
just adjust the top value. Hope this helps :)
Regards,
NikkoNovember 16, 2016 at 7:37 am #712787Hi Nikko
Many thanks indeed.
Sorry one final question please
To move the .special heading again on the home page main picture?
Currently use this CSS av-special-heading h1 { padding-bottom: 300px !important; }
I use this CSS but unfortunately it causes a large padding on every heading throughout the theme.
Anyhow, woudl rather use ” relative position” rather than padding.
Many thanks
Richard
November 17, 2016 at 7:58 am #713420Hey!
I can’t find any special-heading in the homepage that’s using h1, I found 4 but using h2 tags. You can use this code:
.av-special-heading { position: realtive; top: -50px; }
Just adjust the values however this is a global class which would affect all special headings in all pages, I suggest using Custom Css Classes: http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ just add for example this class custom-special-heading then use this css code in Quick CSS
.custom-special-heading { position: realtive; top: -50px; }
This way you can select which special headings this will take effect. Hope this helps :)
Best regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.