
-
AuthorPosts
-
June 15, 2016 at 12:40 pm #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?
June 16, 2016 at 6:19 am #649020Hi 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,
RikardJune 16, 2016 at 9:04 am #649078June 16, 2016 at 9:06 am #649079…especially with responsive design, i really have no clue how to handle!
June 17, 2016 at 7:05 am #649615Hi,
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,
RikardJune 17, 2016 at 8:01 am #649628Hi,
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).
June 18, 2016 at 7:33 am #650111Hi,
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,
RikardJune 18, 2016 at 9:57 am #650131Yeahaw, 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.
June 21, 2016 at 2:39 am #651183Hi,
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,
AndyJuly 19, 2016 at 3:32 pm #662558Hi,
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…
July 19, 2016 at 4:04 pm #662588Hi,
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,
AndyJuly 19, 2016 at 5:22 pm #662646Anbei die Daten
LG
ClausJuly 20, 2016 at 11:28 am #662875Hi,
so now just use this code:
.freigestellt_portrait { top: 50px; }
and adjust as needed.
Best regards,
AndyJuly 20, 2016 at 4:27 pm #663043Hi,
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 */}
July 21, 2016 at 12:08 pm #663319Hi,
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,
AndyJuly 21, 2016 at 2:27 pm #663405Hi,
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 ;)
July 21, 2016 at 2:52 pm #663412btw. there is an image at post #649078
July 25, 2016 at 11:17 am #664533Hi,
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,
AndyJuly 28, 2016 at 9:00 am #666085you 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
clausJuly 28, 2016 at 1:19 pm #666190Hi,
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,
AndyJuly 29, 2016 at 7:32 am #666492So…
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-pageCan you tell me why?
So please, don’t waist your time and handover to somebody else, your solution doesn’t work!
br
clausAugust 2, 2016 at 1:25 pm #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.
August 2, 2016 at 2:07 pm #667642Hi!
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!
YigitAugust 2, 2016 at 2:27 pm #667659Hi 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 borderAugust 2, 2016 at 2:33 pm #667662Hey!
As i mentioned above, your site requires authentication to login. Please provide those logins as well and i will look into it :)
Regards,
YigitAugust 2, 2016 at 3:01 pm #667684do you mean ftp?
August 4, 2016 at 11:41 am #668520Hi Yigit, did it work? br claus
August 5, 2016 at 9:53 pm #669160August 8, 2016 at 3:24 am #669562Hi!
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 andva-bottom
to the column you want to be bottom vertically aligned) in the backend (and you can reproduce it to more pages).Cheers!
JosueAugust 8, 2016 at 3:24 am #669563By 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.
-
This reply was modified 9 years ago by
-
AuthorPosts
- The topic ‘fix position for image at bottom border’ is closed to new replies.