Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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

    #712455

    Hey 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,
    Nikko

    #712689

    I mean change the vertical position as in – moving up or down.

    Sorry about the confusion.

    Thanks

    Richard

    #712748

    Hey 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,
    Nikko

    #712761

    Hi, moving the button (on the main image) up – that’s all
    Please see the link
    many thanks

    #712774

    Hi!

    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,
    Nikko

    #712787

    Hi 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

    #713420

    Hey!

    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

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.