Viewing 30 posts - 1 through 30 (of 34 total)
  • Author
    Posts
  • #648555

    Hi,

    pls can you help me to put a image on a border?

    The link is in the private content…and i would like to have this picture positioned at the bottom grey border.

    Any hint, I’ve tried all the settings within the picture alignment and so on?

    #649020

    Hi Claus_Wien,

    I’m not sure I understand what you are looking to achieve there, could you try to explain a bit further and/or post screenshots of what you want to change please?

    Thanks,
    Rikard

    #649078

    Hi Rikard,

    I’ve forgot that there are three images, sorry ;)

    br
    Claus

    #649079

    …especially with responsive design, i really have no clue how to handle!

    #649615

    Hi,

    Please try the following in Quick CSS under Enfold–>General Styling:

    .page-id-673 .av_two_fifth {
    vertical-align: bottom !important;
    }
    
    .page-id-673 .av_two_fifth img {
    border:1px solid grey !important;
    }

    Regards,
    Rikard

    #649628

    Hi,
    we are coming closer :)
    i’ve put the code now as follows in the quick css (without 1px border):

    .page-id-673 .av_two_fifth {
    vertical-align: bottom !important;
    }

    but what i would like to achieve is the result as you can see in this picture:

    therfore i’ve put the code in custom.css in the desktop style section

    .page-id-673 .avia-builder-el-no-sibling {
        margin-bottom: -50px;
    }

    as you can see in the screenshot marked, it gets overruled by shortcode.css (i’ve changed it manually to -50px, so you can see what i would like to achive).

    #650111

    Hi,

    Ok, maybe it would work if you add important after the statement?

    .page-id-673 .avia-builder-el-no-sibling {
        margin-bottom: -50px !important;
    }

    Best regards,
    Rikard

    #650131

    Yeahaw, it works! Thanks!

    … in the meanwile i’ve tried to change an other page as well, but it doesn’t work.

    Please check my code what i did wrong there.

    .page-id-617 .av_one_third {
    vertical-align: bottom !important;
    }
    .page-id-617 .avia-builder-el-no-sibling {
        margin-bottom: -50px !important;
    }

    the page is in the private content!

    thank you very much

    • This reply was modified 9 years ago by Claus_Wien.
    #651183

    Hi,

    turn on custom class: kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/
    Then give your image in question a custom class. Finally use this code in Quick CSS field:

    .your-custom-class {
    top: 227px;
    }
    

    and adjust as needed.

    Best regards,
    Andy

    #662558

    Hi,

    so call me stupid, i activated now the custom class put the code in the custom.css (because i had the rest of the changes also there) and i would like to have these changes in desktop-sizes only.

    therefore i have to have the vertical align: bottom otherwise it changes the image postition with the page size.

    long story short, it doesnt work, and i dont know why…

    #662588

    Hi,

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    Login credentials include:

    • The URL to the login screen.
    • A valid username (with full administration capabilities).
    • As well as a password for that username.
    • permission to deactivate plugins if necessary.

    Best regards,
    Andy

    #662646

    Anbei die Daten

    LG
    Claus

    #662875

    Hi,

    so now just use this code:

    .freigestellt_portrait {
    top: 50px;
    }
    

    and adjust as needed.

    Best regards,
    Andy

    #663043

    Hi,

    this doesn’w work as should. i would like to have the portrait on the green line (as you can see at the termin-page)

    now i can adjust it for one screen size – which doesnt fit for a responsive design. Did you try to change the screensize once?

    For page 673 it works like a charm, for 617 it doesnt!

    Here is my custom.css:
    /* Have fun adding your style here :) – PS: At all times this file should contain a comment or a rule, otherwise opera might act buggy :( */

    /* General Custom CSS */

    /*
    Desktop Styles
    ================================================== */
    /* Note: Add new css to the media query below that you want to only effect the desktop view of your site */

    @media only screen and (min-width: 768px) {
    /* Add your Desktop Styles here */
    .page-id-673 .av_two_fifth {
    vertical-align: bottom !important;
    }
    .page-id-673 .avia-builder-el-no-sibling {
    margin-bottom: -50px !important;
    }
    .page-id-617 .freigestellt_portrait {
    vertical-align: bottom !important;
    margin-bottom: -50px !important;
    }
    .freigestellt_portrait {
    top: 50px;
    }

    /*
    Mobile Styles
    ================================================== */
    /* Note: Add new css to the media query below that you want to only effect the Mobile and Tablet Portrait view */

    @media only screen and (max-width: 767px) {
    /* Add your Mobile Styles here */

    }

    #663319

    Hi,

    I can’t see any green line on your termin page. Please always provide us precise links showing the elements in question. Not sure what you want to achieve. Would you mind posting us a screenshot/mockup of what you would like to achieve? You can upload the screenshot to imgur.com or dropbox and share the link here :)

    If you want to adjust it for different screen sizes then just add some media queries to my code, like for example:

    @media only screen and (max-width: 989px) and (min-width: 768px) {
    .freigestellt_portrait {
    top: 30px;
    }}
    

    and adjust as needed.

    Which page has page-id-617? please provide precise links for us.

    Best regards,
    Andy

    #663405

    Hi,

    really? I can imagine, because at the termin page the line is grey/white, at the price page it is grey/green.

    Now pls go to termin-page and change the size of the window and then go to price-page and do the same.

    An this is exactly that what i would like to achive, that the image is sticky to this “line”/frame/etc how it is ever called.

    Page 617 its the id of the price-page

    maybe we can do a teamviewer session, it would be faster ;)

    #663412

    btw. there is an image at post #649078

    #664533

    Hi,

    you can’t define that the image is sticky to the element below it. However, you can use page-id and css codes so it looks good for you.

    Use this code for example:

    .page-id-617 .freigestellt_portrait {
    top: 200px;
    }
    

    and adjust as needed.

    Best regards,
    Andy

    #666085

    you can’t define that the image is sticky to the element below it. However, you can use page-id and css codes so it looks good for you.

    wise words relaxed expressed, can you tell me how?

    i do not understand why it was so easy the get the result at the termin-page and it doesnt work at the preise-page

    br
    claus

    #666190

    Hi,

    I already told you how. Again:

    Use this code for example:

    .page-id-617 .freigestellt_portrait {
    top: 200px;
    }
    

    and adjust as needed.

    Maybe you need to add an !important to it.

    Best regards,
    Andy

    #666492

    So…

    really? You told me that, again? Honestly I don’t think this is an polite answer.

    Is it possible to handover to @Rikard or somebody else?

    Because I’m not an expert in coding and it’s not in my focus, _but_ your solution (posted 4 times) doesnt help (the !important I’ve tried already at the first time).
    instead of answering my question you are waisting _your_ time and in my opinion you didn’t read it completly.

    in reply #663043 i told you already what the problem with your solution is:

    now i can adjust it for one screen size – which doesnt fit for a responsive design. Did you try to change the screensize once?

    NO, you didn’t try to change the screensize, otherwise you would have seen that your solution is not working!

    wise words relaxed expressed, can you tell me how?
    i do not understand why it was so easy the get the result at the termin-page and it doesnt work at the preise-page

    Can you tell me why?

    So please, don’t waist your time and handover to somebody else, your solution doesn’t work!

    br
    claus

    #667613

    …can anybody help, because with andy’s solution it look like this atm:


    @andy
    no i can’t adjust as needed, because of the responsive design.

    • This reply was modified 8 years, 11 months ago by Claus_Wien.
    #667642

    Hi!

    Sorry for the late reply!
    Authentication required, therefore i could not login to your site. However, i saw that you added following code to apply the changes

    @media only screen and (min-width: 768px) {
    .page-id-673 .avia-builder-el-no-sibling {
        margin-bottom: -50px !important;
    }}

    What you can do is actually edit your image element and give it a custom CSS class ( please turn on custom CSS field if you have not already by referring to this post – http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ ) and then change your code to following one

    @media only screen and (min-width: 768px) {
    .your-custom-class {
        margin-bottom: -50px !important;
    }}

    You can give that custom class (“your-custom-class” in example) to any image element that you would like to move 50px down.

    If i am missing a point, please point out the image you would like to edit and post authentication logins as well so we can look further into it :)

    Cheers!
    Yigit

    #667659

    Hi Yigit,

    thank you for your fast response.

    Long story short, I have 2 images at 2 pages what i would like to adjust.

    page-id 673 (termine) works perfect and looks already as it should (the code came from rikard)

    page-id 617 (preise) i would like to do the same and was wondering why it didn’t worked as expected (my reply on 18th june)
    then andy started to do some custom-class (which works now) and repeating the same answer again and again ;)

    the problem with his solution is, that i can adjust the image only for one specific resolution, this is no responsive design solution!

    so please be so kind and go to the termin page and change the screen size – the image sticks to the grey/white border
    than go to preise page – the image doesn’t stick to the grey/green border

    #667662

    Hey!

    As i mentioned above, your site requires authentication to login. Please provide those logins as well and i will look into it :)

    Regards,
    Yigit

    #667684

    do you mean ftp?

    #668520

    Hi Yigit, did it work? br claus

    #669160

    ?

    #669562

    Hi!

    I adjusted the CSS classes on the elements (on both pages) and used a different code:

    .va-bottom_section .content{
      padding-bottom: 0;
    }
    
    .va-bottom_section .va-bottom{
      vertical-align: bottom;
    }

    You can check how it works (va-bottom_section set to containing section and va-bottom to the column you want to be bottom vertically aligned) in the backend (and you can reproduce it to more pages).

    Cheers!
    Josue

    #669563

    By the way, i’d suggest using Quick CSS instead of css/custom.css as this file will get lost every time you update the theme.

Viewing 30 posts - 1 through 30 (of 34 total)
  • The topic ‘fix position for image at bottom border’ is closed to new replies.