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

    #193980

    Hi 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 website

    Cheers!
    Yigit

    #194287

    That 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!

    #194301

    Hey!

    Can you please give us a link to the actual page?

    Best regards,
    Ismael

    #194303

    oh, sorry, not uploaded yet. I’m developing on my localhost…
    Nevertheless, any hints?

    #194424
    This reply has been marked as private.
    #194425
    This reply has been marked as private.
    #194427
    This reply has been marked as private.
    #194438

    Hi!

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

    #194440

    Alright. 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.
    #194446

    Hey!

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

    #194451

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

    #194455

    Hey!

    It should be resizing flawlessly right now. I am not sure if i understand what exactly the issue is. Can you elaborate?

    Cheers!
    Yigit

    #194460

    Oh, 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!

    #194594

    Hey!

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

    #194648

    Howdy,
    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?

    #194680

    Hi!

    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!
    Ismael

    #194714

    Hey,
    the “Color Section with Promo Box”-Element is now fullwidth. Great

    But
    .. 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!

    #194778

    Hi!

    Please add following coed to Quick CSS as well

    .av_promobox { margin: 0; }
    #av_section_1 .content { padding-bottom: 0; }

    Cheers!
    Yigit

Viewing 19 posts - 1 through 19 (of 19 total)
  • The topic ‘CSS needed’ is closed to new replies.