Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #338999

    if you like sometimes some shadow-gimmicks like this one:

    you can give alot of those elements a class (in my case i named it tornpaper – not correkt but unique)

    .tornpaper {
        background-color: #fff;
        border-color: #3c64ba #ddd #ddd !important;
        border-image: none;
        border-style:  groove solid solid !important;
        border-width: 5px 1px 1px;
        padding: 20px;
        text-align: center;
        overflow: visible !important
    }
    
    .tornpaper:before, .tornpaper:after {
        bottom: 10px;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.7);
        content: " ";
        height: 20%;
        left: 15px;
        max-height: 100px;
        opacity: 0.7;
        position: absolute;
        -ms-transform: rotate(-3deg); 
        -webkit-transform: rotate(-3deg);
        transform: rotate(-3deg);
        width: 45%;
        max-width: 380px;
        z-index: -1;
    }
    
    .tornpaper:after {
        left: auto;
        right: 15px;
        -ms-transform: rotate(3deg); 
        -webkit-transform: rotate(3deg);
        transform: rotate(3deg);
    }

    btw : in Layout Elements since 3.02 i got 2 grid rows ?

    #339035

    Hey Guenter!

    Have you made any changes on grid row element? There should be one – http://i.imgur.com/WacJk4U.png

    And thank you for sharing your code Guenter. I have added some tags, hope it makes it easier for other users to find your post :)

    Best regards,
    Yigit

    #339195

    Wow, this looks good. Thans Guenter

    Is it possible to make this with a slider?

    Regards Simon

    #339405

    so here is my answer on Yigit.
    before 3.02 the grid shortcode is called layout_row.php in the avia shortcodes folder.
    Now its called grid_row.php
    because i’m updating always via ftp i did not delete the old folder – i overwrite it – thats my fault.
    And this is the reason why i got two grid rows in my template builder.

    #339407

    @simonac to get the option to give a css class to almost every container this is the code (best in a child-theme functions.php) :

    add_theme_support('avia_template_builder_custom_css');

    than you can give a class to simple slider as well.
    http://www.guenterweber.com/entwurf/wp06/trial-and-error/

    #339553

    Hi!

    Glad you figured it out Guenter! :)


    @simonac
    For more information on the code Guenter posted in his last post, please see – http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/

    Regards,
    Yigit

    #526543

    you’re missing a ; after one of your importants ;)

    #526738

    Hi,

    Thanks for pointing that out :-)

    Best regards,
    Rikard

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