Forum Replies Created

Viewing 30 posts - 6,811 through 6,840 (of 11,712 total)
  • Author
    Posts
  • in reply to: Two Line Name on Main Menu Tab #1105878

    by the way i see in your code: not the a tag gets a title – the menu-item itself gets a custom-class – see post above

    in reply to: Adding a PDF Download to store products #1105877

    with that code in htaccess file – every link to a pdf will end in a download. https://kriesi.at/support/topic/adding-a-pdf-download-to-store-products/#post-1105357

    in reply to: Two Line Name on Main Menu Tab #1105874

    read this carefully – i tried to make it as precise as i could. https://kriesi.at/support/topic/two-line-name-on-main-menu-tab/#post-1105386

    remove the code from ismael.

    first
    do it with your <br> like you did it at the beginning.
    second : give those menu-items a custom-class (as described above ( twoliner )
    click to enlarge to see the dashboard/menu screen:
    On that slide-out you can mark a lot of additional things for the menu-settings !

    after mark classes – you can open each menu-item on that little arrow on the right. You can then see:

    third: this to quick css

    #avia-menu .twoliner > a {
        line-height: 20px !important;
        padding-top: 63px !important;
    }

    thats it

    in reply to: Two Line Name on Main Menu Tab #1105596

    well this is no competition but if you will take my code you only have to make it specific to menu :

    #avia-menu .twoliner > a {
        line-height: 20px !important;
        padding-top: 63px !important;
    }

    and again – what if the second line has a word longer than the first line ? f.e.
    Project
    Photo Gallery

    __________

    btw: maybe you got that Cross-Origin Resource Sharing (CORS) error with the entypo-fontello icons.
    you can find some solutions to that by searching CORS or look to documentation:
    https://kriesi.at/documentation/enfold/icon/#troubleshoot

    Most – there will be an apache Server- i have that solution for htaccess file

    in reply to: Two Line Name on Main Menu Tab #1105389

    by the way – it will work with three lines too!
    and your burger button on small screens is white on white. and some of your menu items in burger menu too !

    in reply to: Two Line Name on Main Menu Tab #1105386

    As long as the second word isnt much longer than the first one – this will work!

    if you leave the header at non-shrinking it could be done this way too:

    • Give a custom class to that menu item f.e. : twoliner
    • insert item label – as you does with linebreak
    .twoliner > a {
        line-height: 20px !important;
        padding-top: 63px !important;
        text-align: center;
    }

    Advantage of that method is that the menu-item width grows with the inserted words.

    ______________________________

    By the way : if you don’t know how to set a custom class to menu-items:
    on the top of the menu settings page – there is on top right a slide out settings tab. There you can mark additional fields for the menu settings.
    Click to enlarge the image

    After activation of class the items look like this:

    there you are

    in reply to: Center socket on mobile only #1105384

    i would try only this ( and get rid of the rest )

    @media only screen and (max-width:550px) {
    	.copyright {
    		width: 100%;
    		text-align: center;
    	}
    
    	.responsive #socket .sub_menu_socket {
    	    margin: 0;
    	}
    
    	#socket .sub_menu_socket .menu {
    	    position: relative;
    	    display: block;
    	    margin-left: 0 !important;
    	    text-align: center;
    	}
    }

    for some pages it might be necessary to have instead the last rule :

    #socket .sub_menu_socket .menu {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        display: inline-block;
        margin-left: 0 !important;
    }

    the best would be to see your site!

    by the way: why not 768px breakpoint (max-width:767px) – the point where all the other things break?
    Then you will have on ipad portrait the normal socket and centered below

    in reply to: Custom Icons blank #1105378

    sometimes it is like magic if you try both one after the other.
    so go to icomoon upload your svgs – download them – unpack that zip file and look for the svg font file.
    This svg font file you can drag and drop to fontello icons. –
    Download the font files from fontello and upload that fontello.zip file to enfold.
    Don’t ask why – sometimes this helped me to get it work.

    PS
    give the fontello files a different name than that you have used allready.

    in reply to: Social Bookmarks Widget (how to) #1105368

    First: why an updated version? it still works on Enfold 4.5.7 and WP 5.2.1

    you can influence it same as the top navigation area with quick css:

    #top .socialbookmarks-widget .social_bookmarks {
      display: inline;
    }
    
    #top .socialbookmarks-widget .social_bookmarks li {
      border-right-width: 0;
      width: 50px;
    }
    
    #top .socialbookmarks-widget .social_bookmarks li a {
      width: 50px;
      line-height: 50px;
      min-height: 50px;
    }
    
    #top .socialbookmarks-widget .social_bookmarks li a:before{
      font-size:30px
    }

    Result with 50px : https://webers-testseite.de/#footer
    That widget area in the middle: Social Bookmarks Widget

    • This reply was modified 6 years, 5 months ago by Guenni007.
    in reply to: Adding a PDF Download to store products #1105357

    you can force download by different methods.
    One globaly – put this into your htaccess file in the root directory:

    <FilesMatch "\.(?i:pdf)$">
    <IfModule mod_headers.c>
        ForceType application/octet-stream
        Header set Content-Disposition attachment
    </IfModule>
    </FilesMatch>

    or f.e. place the download in this way:
    <a href="https://domain.de/xyz.pdf" download="Aufsatz_ueber_Nettiquette.pdf">Nettiquette</a>

    for better adivce it would be necessary to see your site.

    in reply to: Logo not showing on CHROME. #1105348

    i would have expected a svg file now, because chrome needs a lot of information, but a png should not cause any problems. I can’t confirm that either; I can see your logo on my Chrome/Mac.

    after your logo img there is a noscript tag, which definitely does not originate from Enfold. So there already seems to be a third party script interfering.
    So – if javascript is deactivated on your chrom – you will see that fallback.

    i’m Participant as you – so i do not see any private content data.
    That field is there if you are using my edited alb element of the button.

    in reply to: A question to a developer – … #1104982

    No relation to it – just the reason why i was a bit longer offline that i wanted – can be closed

    read carefully even on top of that : https://webers-testseite.de/edited-enfold-alb-elements/#buttons

    for better advice i had to see a link and your two buttons you are talking about.

    in reply to: letter spacing #1104857

    yes – but please try to internalize what cg said. That was your syntax error.
    you can write it as letter-spacing: 12px!important; as well but the space if is there had to be after the value

    in reply to: Editor drag drop elements don't work #1104853

    sorry – i’m participant as you are – so i could not see your private content.
    You had to wait til mods are here.

    Sorry – can be closed now – i forgot to tell you that i changed the regex code to:

    $regex = "!\[contact-form-7|\[av_contact!";

    in reply to: Phone and more Icons to the Social Media Profiles #1104577

    Well i think you had to first register an icon as a theme icon – then you can define it as a social icon:

    // Register a new icon as a theme icon
    function avia_add_custom_icon($icons) {
      $icons['tel']  = array( 'font' =>'entypo-fontello', 'icon' => 'ue854');
      return $icons;
    }
    add_filter('avf_default_icons','avia_add_custom_icon', 10, 1);
    
    // Add new icon as an option for social icons
    function avia_add_custom_social_icon($icons) {
      $icons['tel'] = 'tel';
      return $icons;
    }
    add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);

    and think of to set the css styles for hover state too!
    all icons get the class : av-social-link-xxx

    so f.e. with example above: tel

    #top #wrap_all .av-social-link-tel:hover a {
        color: #fff;
        background-color: #006567;
    }
    in reply to: Falsche Übersetzung / wrong translation #1104370

    thats it

    in reply to: Editor drag drop elements don't work #1104292

    i can not reproduce your troubles – but it would be anyway a nice idea that the ( #avia_builder .inside ) container stays fixed on top when scrolling.

    in reply to: Falsche Übersetzung / wrong translation #1104204

    Unfortunately, this is simply about the German language. There is no superlative too current in analogy to only/unique.
    Either something is up to date or not. Something cannot be more than up to date.
    big – bigger – biggest that is ok. ;)

    by the way: translation on German “Du” – (not formal) is: “Blog – Beiträge”

    • This reply was modified 6 years, 5 months ago by Guenni007.
    in reply to: A question to a developer – … #1104038

    Sorry Ismael – answering late to your reply.

    I had some troubles with a nice page.

    • This reply was modified 6 years, 5 months ago by Guenni007.
    in reply to: Restoring Full-Width Submenu Elements #1103645

    i installed 4.5.7 and there are some changings on that alb element.
    So if you have a child-theme menu.php uploaded – this will come into conflict with the new settings.
    in that case it maybe enough to delete that file. ( Save it first on your desktop)

    in reply to: Search in German #1103574

    Solltest du Deutsch (Schweiz) aber benötigen; es gibt wege die Übersetzung die du benötigst dort selbst einzufügen.

    Edit : sehe gerade, dass diese Übersetzung im Deutsch Schweiz Fall jedoch vorhanden sind:
    click to enlarge

    Weiss also nicht warum es nicht auch mit der Spracheinstellung gehen sollte

    in reply to: adding an alt tag #1103484

    by the way : if you like to have on logo ( non transparency one) a title tag too – add one line for it above:

    function custom_logo_attriubtes(){
    ?>
    <script>
    (function($){
      $('.logo img').attr({ title:"custom_title", alt:"custom_alt" });
      $('.logo img.alternate').attr({ title:"transparent Logo", alt:"Alt Transparent" });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'custom_logo_attriubtes');
    in reply to: adding an alt tag #1103468

    click to enlarge:
    https://i.postimg.cc/k5Mrc4pP/why.jpg

    in reply to: Search in German #1103433

    Edit : habe eben mal auf Deutsch Sie gestellt : auch da ist die Suchergebnis Seite auf Deutsch.

    in reply to: Search in German #1103432

    Hast du deine Seite denn sonst auf Deutsch laufen? Wenn ja – welches “Deutsch” hast du dort ausgewählt – ist ja wohl eine Sonderstellung der Sprache, dass wir “Du” oder “Sie” als Ansprache wählen können.
    Dort sind die Übersetzungen teilweise anders oder fehlen gar.

    • This reply was modified 6 years, 5 months ago by Guenni007.
    in reply to: adding an alt tag #1103260

    well that Logo is the alternate logo – set for transparency Option.
    You can add alt and title attribute by child-theme functions.php:

    function custom_alternate_logo_attriubtes(){
    ?>
    <script>
    (function($){
      $('.logo img.alternate').attr({ title:"Manchester Coach Hire Logo", alt:"Manchester Coach Hire" });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'custom_alternate_logo_attriubtes');
    in reply to: Logo dissapeared in Chrome #1103059

    is there a link to the site you can make public?

Viewing 30 posts - 6,811 through 6,840 (of 11,712 total)