
-
AuthorPosts
-
November 27, 2013 at 11:10 am #193813
Hallo,
bin neu hier, habe leider nur geringe Kenntnisse von HTML/CSS, aber doch eine Frage…Auf der Homepage soll direkt und ohne Abstand unter dem Advanced Layerslider ein einfaches Bild eingefügt werden.
Könnte mir jemand ein entsprechendes CSS-Beispiel erstellen und mir dann auch noch sagen, wo man diesen Code einfügen muss?
Vielen Dank!
=============================
Hello,
I’m new here, have little knowledge of HTML / CSS unfortunately, but already have a question …I want to insert a simple picture directly without any distance under the Advanced Layer Slider on the homepage.
Could someone create a corresponding CSS example and then also tell me where to place this code?
Thank you!
November 27, 2013 at 6:41 pm #193980Hi michasvision!
Please add following code to Quick CSS in Enfold theme options under Styling tab
.page-id-2666 .content { padding-top: 0; }
You just need to change page ID on your particular page. For more info, please see https://kriesi.at/support/topic/mini-heading-in-page/#post-188120
If that does not work, please post the link to your websiteCheers!
YigitNovember 28, 2013 at 11:35 am #194287That was very helpful, thank you!!
The image is now directly beneath the slider.Now I want it to be flexible, ie. dynamically resize along with the browser window.
I think in CSS you would set “max-width: 100%;” and “height: auto;” …Can you help me achieve that with Quick CSS in Enfold ?
And there seems to be a small border around the image element, how can I remove that?Thank you!
November 28, 2013 at 12:10 pm #194301November 28, 2013 at 12:15 pm #194303oh, sorry, not uploaded yet. I’m developing on my localhost…
Nevertheless, any hints?November 28, 2013 at 5:21 pm #194424This reply has been marked as private.November 28, 2013 at 5:22 pm #194425This reply has been marked as private.November 28, 2013 at 5:22 pm #194427This reply has been marked as private.November 28, 2013 at 5:30 pm #194438Hi!
You can use Promo Box elements instead of Image Element and in my opinion it will be easier to achieve what you would like to achieve. You can choose not to display button on Promo Box and we can provide you custom CSS code to style it as your image. And there would be no issue displaying it on mobile devices
Regards,
YigitNovember 28, 2013 at 5:35 pm #194440Alright. The Promobox is looking a little bit small but if you could help me with the css…
Thank you!Stupid me, didn’t update the server…
-
This reply was modified 11 years, 5 months ago by
michasvision.
November 28, 2013 at 5:49 pm #194446Hey!
Please add following code to Quick CSS as well
body .container_wrap .avia-builder-el-first { background-color: #3C3C3C; color: white; border-radius: 5px; } .av_promobox { padding: 15px 30px; } .avia-promocontent p { font-size: 18px; }
Best regards,
YigitNovember 28, 2013 at 6:03 pm #194451Hey, that’s great!
It is looking exactly like the image i used before, but as you mentioned it is much better for mobile devices. Great!Now, the only thing left is my original problem :))
How do I get the promobox to dynamically resize along with the browser window?Thank you!
November 28, 2013 at 6:40 pm #194455Hey!
It should be resizing flawlessly right now. I am not sure if i understand what exactly the issue is. Can you elaborate?
Cheers!
YigitNovember 28, 2013 at 6:57 pm #194460Oh, sorry, did not explain that correctly.
The slider will be full-width (browser), and I want the promobox to be that wide, too…
I have played with some settings on the live-site, it is back to full width now.Thank you!
November 29, 2013 at 4:50 am #194594Hey!
In that case, you can put Promo Box inside a Color Section element and add following code to Quick CSS in Enfold theme options under Styling tab
#av_section_1 .container { width: 100%; }
Best regards,
YigitNovember 29, 2013 at 10:23 am #194648Howdy,
good idea, but now the promobox (see above) does not get any CSS formating.
The css styling of the promobox has now moved to the next element (first column)…My Quick CSS content:
.page-id-734 .content { padding-top: 0; }
#av_section_1 .container { width: 100%; }
body .container_wrap .avia-builder-el-first {
background-color: #3C3C3C;
color: white;}
.av_promobox { max-width: 100%;
padding: 15px 30px; }
.avia-promocontent p {
font-size: 18px;
}I assume the promobox is not “.avia-builder-el-first” any more…?
Can you help?
November 29, 2013 at 11:19 am #194680Hi!
The promo box is responsive and it is full width when I checked the site. You can use this selector to change it:
.av_promobox { position: relative; border-width: 1px; border-style: solid; overflow: hidden; padding: 20px 30px; clear: both; margin: 50px 0; width: 100%; float: left; padding: 15px 10px; }
Cheers!
IsmaelNovember 29, 2013 at 12:44 pm #194714Hey,
the “Color Section with Promo Box”-Element is now fullwidth. GreatBut
.. the “Color Section with Promo Box”-Element should be directy beneath the Layerslider.
Unfortunately there is a big space between them now.Can you send me the complete contents of the Quick-CSS?
Please check again…
Thank you!November 29, 2013 at 5:03 pm #194778 -
This reply was modified 11 years, 5 months ago by
-
AuthorPosts
- The topic ‘CSS needed’ is closed to new replies.