Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1461527

    Hi,
    i added a menue in the menue settings for the socket.
    How can i set it to the left side of the socket and have the copyright next to it?
    kind regards
    Jak

    #1461532

    Hey Jak73,
    Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    #socket > .container {
    	display: flex;
      flex-direction: row-reverse;
      justify-content: flex-end;
    }

    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    #1461535
    This reply has been marked as private.
    #1461537

    Hi,
    Your screenshot looks like the socket is full width, but your site is smaller, so I recommend making the area full width and making the font smaller so there is enough room.

    .responsive #socket > .container {
        max-width: 100%;
        font-size: 18px;
    }
    #socket .copyright {
        float: right;
        padding-left: 20px;
        line-height: 24px;
    }

    and then move the “title” on the right side over some in the css for it, currently you have:

    #footer-title {
        font-size: 38px;
        font-family: zen-kaku-gothic-new;
        color: #000;
        font-weight: bold;
        float: right;
        top: -38px;
        position: relative;
        left: -15%;
    }

    change to:

    #footer-title {
        font-size: 38px;
        font-family: zen-kaku-gothic-new;
        color: #000;
        font-weight: bold;
        float: right;
        top: -38px;
        position: relative;
        left: -5%;
    }

    Best regards,
    Mike

    #1461856
    This reply has been marked as private.
    #1461859

    Hi,
    To move your footer items back to within the content width, remove max-width: 100%; from the css above:
    Enfold Support 6281
    to remove the line add this css:

    #socket.container_wrap {
        border-top-style: none;
        border-top-width: 0;
    }

    Best regards,
    Mike

    #1461882

    if you choose display : flex for a container – always think of all containers inside!
    even a pseudo-container will follow this.

    maybe a :

    #socket > .container:after {
      display: none
    }

    will clarify things here.

    PS : does it belong to the known page – with that name in the footer ?
    i have some ideas to reach a better – userfriendly approach.
    there is a nice hook in enfold placing a widget area after the footer : ava_after_footer_output
    see footer sections here: https://consulting.webers-testseite.de/

    #1461901

    put these two snippets inside your child-theme functions.php:

    
    add_action('ava_after_footer_output', function() {
      echo '<div id="subsocket" class="container_wrap subsocket_color"><div class="container">';
      echo !dynamic_sidebar('subsocket');
      echo '</div></div>';
    });
    
    function subsocket_color_set($color_sets){
      $color_sets['subsocket_color'] = 'Subsocket';
      return $color_sets;
    }
    add_filter( 'avf_color_sets', 'subsocket_color_set', 999 );

    after that go to your widgets and create a new widget area named: subsocket

    the first snippet is to have a new widget area – the second snippet is for having your own color styles for that area by enfold options.

    Inside the new widget area you can have all widget you like to have.

    to have less height and paddings etc. just a little css:

    #subsocket > .container,
    #subsocket .widget {
      padding: 0;
    }
    #subsocket p {
      margin: 0;
    }
    #subsocket .av-special-heading {
      margin: 10px auto;
    }

    for changing the position of copyright info and footer menue – the idea of Mike is perfect:

    #socket .container {
      display: flex;
      flex-flow: row-reverse wrap;
      justify-content: space-between;
    }
    
    #socket .container::after {
      display: none;
    }
    
    #socket .sub_menu_socket {
      display: flex;
      align-items: center;
    }
    
    @media only screen and (max-width:767px) {
      #socket .container {
        flex-direction: column;
        align-items: center;
      }
      #socket .container > * {
        display: inline-block;
        width: unset !important;
      }
    }
    #1461937

    Hi Guenni,
    yes that’s right, same page.
    I’ll try that. Thank you!
    kind regards Jak

    #1461952

    yes – or if you like to have on responsvie case first the menue then the copyright info use instead as media query:

    @media only screen and (max-width:767px) {
      #socket .container {
        flex-flow: column-reverse wrap;
        align-items: center;
      }
      #socket .container > * {
        display: inline-block;
        width: unset !important;
      }
    }
Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.