Forum Replies Created

Viewing 30 posts - 9,361 through 9,390 (of 10,894 total)
  • Author
    Posts
  • in reply to: Different logos for different pages/categories #743911

    ah sorry i didn’t mention it above – these codes are for child-theme functions.php !

    in reply to: Center menu – responsive ?! #743910

    if you shrink his site to responsive case you see the fact he liked to change.

    Look here to my solution2 for his site:

    https://webers-testseite.de/ikom/wp-content/uploads/screenfilm.mp4

    in reply to: Different logos for different pages/categories #743899

    btw:

    Note: There is no function to check if a page is a sub-page in wordpress codex – but
    we can get around the problem if we make a new function :

    function is_tree($pid) {   
    	global $post;       
    		if(is_page()&&($post->post_parent==$pid||is_page($pid))) 
                   return true;
    		else 
                   return false;
    };

    than you can use it like:

    than we can use conditional tag if it is page id 2 or is subpage of page id 2

    if (is_tree(2)) {
      do something
    }

    PS : only works with one level it does not check if a page is sub sub page !!!

    in reply to: Different logos for different pages/categories #743877

    this might help:
    (Example page-id is 2854)

    add_filter('avf_logo','av_change_logo');
    function av_change_logo($logo)
    {
        if( is_page(2854) ) {
    		$logo = "/wp-content/uploads/logo1.png";
    	}
        return $logo;
    }
    
    add_filter('avf_logo_link','av_change_logo_url');
    function av_change_logo_url($url)
    {
    	if( is_page(2854) ) {
           return "link url here";
    	}
    }

    is there a possibility to combine these rules ? Rikard

    btw. you can insert here every conditional tag you know even arrays:
    f.e.

    add_filter('avf_logo','av_change_logo');
    function av_change_logo($logo)
    {
        if( is_page( array( 42, 54, 6 ) ) ){
    		$logo = "/wp-content/uploads/logo1.png";
    	}
        return $logo;
    }
    
    add_filter('avf_logo_link','av_change_logo_url');
    function av_change_logo_url($url)
    {
    	if( is_page( array( 42, 54, 6 ) ) ){
           return "link url here";
    	}
    }

    if ( is_singular( 'event' ) || is_search() || is_category() || is_page() && !is_page(1307) || is_singular( 'portfolio' ) )
    etc pp works all

    in reply to: Fullscreen Slider slide direction #743846

    i think this is no slider at all.

    You can achive this in an elegant method by creating nice landingpages by scrollmagic or greensock animation.

    Look f.e. here: http://www.electricenjin.com/#intro
    or very nice too: http://lempens-design.com/

    here are some example-demo-pages : https://greensock.com/examples-showcases

    you see in the first example above – that it is a similar (more elegant way) of your link.
    I can imagine this as start page for an enfold setup.

    try it with html entities you mean that little character with degrees of Celsius Grade
    °

    f.e. C°

    Don’t forget the semicolon
    by the way – here is a Link to a list

    in reply to: Center menu – responsive ?! #743775

    and here is the alternative without floating some menu links under the others:
    Less place for the logo for more place for navigation

    Try this first – seems to be the better alternative

    
    .av-main-nav li:nth-child(3) {
        margin-right: 150px;
    }
    
    .responsive .main_menu ul:first-child > li > a {
        padding: 0 8px;
    }
    
    #header_main_alternate {
         border: medium none !important;
    }
    
    #header .container {
         max-width: 100%;
         padding: 0px;
    }
    
    .html_header_top.html_logo_center .logo {
         filter: drop-shadow(2px 2px 3px #888888);
         left: 50%;
         transform: translate(-50%, 20px);
    }
    
    .html_header_top.html_header_sticky.html_large.html_bottom_nav_header #main {
        padding-top: 120px !important;
    }
    
    .cart_dropdown {
        opacity: 0;
        right: 0;
        top: 0;
        transition: none !important;
    
    }
    
    @media only screen and (min-width: 980px) {
    .responsive .main_menu ul:first-child > li > a {
        padding: 0 20px;
    }
    }
    
    @media only screen and (max-width: 810px) {
      .container #advanced_menu_toggle, #advanced_menu_hide {
          display: block;
      }
    .main_menu .avia-menu, #header_main_alternate, .fallback_menu {
        display: none;
    }
    .responsive #top #wrap_all .container {
        float: none;
        margin: 0 auto;
        max-width: 85%;
        padding-left: 0;
        padding-right: 0;
        width: 85%;
    }
    .responsive.html_header_top.html_logo_center .logo {
        left: 0;
        margin: 0;
        transform: translate(0%, 0px);
    }
    .responsive #top .cart_dropdown {
        margin: -23px 50px 0 0;
        position: absolute;
        right: 7.5%;
        top: 50%;
        opacity: 1
    }
    • This reply was modified 7 years, 9 months ago by Guenni007.
    in reply to: Center menu – responsive ?! #743686

    the filter is to style the logo a bit.
    for me the thin line through your logo looks not good.

    Some rules exists allready and are only (transforming the logo) to setup a bit different

    PS : and now i’m hungry – looks very nice

    • This reply was modified 7 years, 9 months ago by Guenni007.
    in reply to: Center menu – responsive ?! #743683

    Edit: try first the other solution – seems to be clearer !

    so one possibility is to have a fluent nav height.
    if you don’t want to shrink font-size you have to allow floating (as you does) – but your container with navigation is set to 50px height.
    try this here instead:

    #header .container {
         max-width: 100%;
         padding: 0px;
    }
    
    #header_main_alternate {
         border: medium none ! important;
    }
    
    .html_header_top.html_header_sticky.html_large.html_bottom_nav_header #main {
        padding-top: 138px !important;
    }
    
    .html_header_top.html_logo_center .logo {
         filter: drop-shadow(2px 2px 3px #888888);
         left: 50%;
         transform: translate(-50%, 10px);
    }
    
    .html_header_top.html_logo_center .main_menu ul:first-child {
         display: inline-table ! important;
         width: auto ! important;
    }
    
    .html_header_top.html_bottom_nav_header .main_menu > div, .html_header_top.html_bottom_nav_header .main_menu ul:first-child {
         height: auto ! important;
         width: 100%;
    }
    
    @media only screen and (max-width: 1120px) {
    .html_header_top.html_header_sticky.html_large.html_bottom_nav_header #main {
        padding-top: 186px !important;
    }
    }

    on transformation the logo for me it looks nice to have the logo a bit shifted down. But it is a matter of opinion.
    the padding-top is for having the slider not covered by the navigation.

    • This reply was modified 7 years, 9 months ago by Guenni007.
    in reply to: Gallery tweaks #743584

    my advice is to wait as long as possible to install caching tools or minify tools since designing the site is finished.
    Because you have to always delete cache to see the influence of changings.

    in reply to: Gallery tweaks #743576

    maybe the filepermissions are not correct .

    The quick css rules are saved in : /wp-content/uploads/dynamic_avia/enfold_child.css
    if you are working with child theme – if not it is in enfold.css same folder.

    These rules are only added at the end of default rules – so please look if the folder dynamic_avia has correct folder-permission and the css are writeable.
    (via ftp)

    in reply to: Gallery tweaks #743568

    first set the rules to important:

    .mfp-title {
        display: none !important;
    }
    
    #top div .avia-gallery img {
        border-width: 0 !important;
    }

    other rules in your quick css have an effect?
    sometimes there are missing closing brackets infront of the rules
    may i see your whole quick css entries?

    in reply to: Gallery tweaks #743563

    this is the correct place but the code is not in your source code to find.

    in reply to: Gallery tweaks #743553

    it is simple – the code is not in your css to find

    and maybe this rule has to set to important:

    #top div .avia-gallery img {
        border-width: 0 !important;
    }
    in reply to: Gallery tweaks #743545

    try to insert this to your quick css in Enfold Options

    .mfp-title {
        display: none;
    }
    
    #top div .avia-gallery img {
        border-width: 0;
    }
    in reply to: Mysterious border #743539

    i would like to help you but for other participants like me – we could not see private content.
    But nevertheless an image is not a good help either. So the real link to the concerning site will be more helpful.

    in reply to: Center menu – responsive ?! #743537

    i do not see a link to the concerning site so in this point i can not help you in detail.

    But what behavior should a menu have if the space from left to right is not enough?
    To have the menu responsive there are two main solutions.
    The one is that some listpoints are floating underneath the others – the other one is to shrink font-size, margins or paddings between list points.

    in reply to: Seite nicht komplett HTTPS:// sicher #743527

    Dein punkt.gif taucht auch in den Metatags auf und wird aktiv eingeführ in dem Subheading von “Unsere Schwerpunkte”
    Da ist ein Link (unsichtbar gesetzt)

    Bei dem Background BIld bleibt dir nichts anderes übrig als das Bild von der Kriesi Demo Page zu laden und bei dir hochzuladen. Und dieses zu verlinken.
    (Ps Das findet sich unter: http://kriesi.at/themes/enfold-construction/files/2015/10/house-wire-model-fade-white.png)

    in reply to: Seite nicht komplett HTTPS:// sicher #743523

    na sagen wir einmal so – ich nehme an du warst zunächst ohne SSL unterwegs auf deiner Installation – hast das SSL Zertifikat später erworben und nachträglich installiert.

    Selbiges habe ich jetzt auch schon 2mal hinter mir. Es ist leider nicht damit getan, dass du nur im Backend unter Einstellungen / Allgemein die links anpasst.
    WordPress-Adresse (URL)
    Website-Adresse (URL)
    wenn man es so aufsetzt ja , wenn man erst ohne SSL unterwegs war und dann umstellt muss man alle Links anpassen.

    Das eine Bild ist trivial, da hast du extern verlinkt, zu dem Bild auf einer http Seite – klar oder, dass dieses nicht SSL sein kann.

    aber auch einige Links intern wurden nicht umgestellt:
    http://www.stahlbau-hallenbau-konstruktionen.com/stahlhallen/punkt.gif
    meist sind das per css eingefügte images oder mit absolutem Pfad verlinkte.
    Durchforste also mal das Quick css nach gesetzten Links zu Bildern, und die avia-text-blöcke nach Verknüpfungen.

    PPS: wenn alles nicht hilft gibt es ein Plugin (entwickelt damals noch von Frank Bültge) welches in der Datenbank via WordPress Backend Suchen und ersetzen kann.
    Aber vorsicht damit !!! Bitte überlegen was man da macht.
    mit dem Tool müsstest du in allen Datenbanktabellen zB suchen nach:
    http://stahlbau-hallenbau-konstruktionen.com und das ersetzen durch:
    https://stahlbau-hallenbau-konstruktionen.com

    vorsicht mit voreiligen Schlüssen zB nur nach http zu suchen und das durch https ersetzen. Hier sind dann auch alle Links betroffen die zB in Plugins oder youtube oder vimeo etc. Betroffen – habe diese dann kein Pendent geht es schief.

    in die wp-config.php von WordPress könntest Du sicherheitshalber auch folgendes einfügen:
    define( 'WP_CONTENT_URL', 'https://stahlbau-hallenbau-konstruktionen.com/wp-content' );

    in reply to: Delete Print.css file #742342

    if you like to enque your own file :

    add_action( 'wp_enqueue_scripts', 'wp_change_printcss', 20 );
    function wp_change_printcss() {
       wp_dequeue_style( 'avia-print' );
        wp_enqueue_style( 'avia-print-child', get_stylesheet_directory_uri().'/css/print.css' );
    }

    put in you own rules to print.css and upload it to your Child-Theme/css folder

    in reply to: Convert post to PDF so user can print or save #742335

    so if you like to make it perfect – you have to style your print output by editing your own print-style
    you can do it i think if you put in quick css :

    @media print {
    put in your printlayout rules here
    }

    there are some plugins which do that job of creating a pdf file of your screen output. But this is often not for interest of your sitevisitors.
    Mostly they like to have the Headings and the main-content – so it is a good advise to set all other infos (top header, navigation, sidebar infos etc to display: none. than reduce font-size to normal print size (headings (h1 maximum 20px ). and the p-tag to 12px. etc pp.

    some webdesigners additionaly creates there own class for print-output to influence the output in detail.
    f.e. .noprint {display: none !important} and than give to all your not wanted to print out (even in main-content) this class.

    f.e: this should be printed. this should be printed. this should be printed. this should be printed. this should be printed. this should be printed. this should be printed. this should be printed. <span class="noprint"> this shouldn't be printed this shouldn't be printed this shouldn't be printed this shouldn't be printed this shouldn't be printed </span> this should be printed. this should be printed. this should be printed. this should be printed. this should be printed.

    or to change to serif font for all text. etc. pp

    @media print {
      * {font-family: "times new roman",times,serif;text-align: justify;}
       .noprint {display: none !important}
    }
    in reply to: Responsive Adding custom code to the Header #742330

    it might be much easier to give some advice with the link to your site.

    in reply to: Menu Button Colored Styles #742323

    hi rikard – i think he liked to colorize the background and the font-color –
    so mcraig77 try this ( btw. if a rule does not work allways try to put in !important after the rule)

    .main_menu #menu-item-1107 .avia-menu-text {
        background-color: red !important;
        color: #000 !important
    }
    
    .main_menu #menu-item-1107 a:hover .avia-menu-text {
        background-color: blue !important;
        color: #fff !important
    }

    PS the span has that class avia-menu-text (span should work too)

    if you like to have round corners with border: (btw. you see you can manage each corner separately ! top-left top-right bottom-right bottom-left)

    .main_menu #menu-item-1107 .avia-menu-text {
        border: 2px solid #fff !important;
        border-radius: 15px 10px 5px 0 !important;
    }

    if you do not do it with .main-menu the responsive menu does the same – and this could look ugly.

    in reply to: can't upload favicon.ico #741101

    do you have newest WordPress? since 4.7.1 they have changed mime check for uploads. So for me the worst thing is that svgs can’t be uploaded.
    Maybe ico is influenced too from that new mime check.

    Edit: no – i checked this – on my installation with newest wordpress it works.
    How do you create your ico File?

    • This reply was modified 7 years, 10 months ago by Guenni007.
    in reply to: Remove section padding on responsive mode #740833

    CSS means cascading style sheets – so you have to “fall down” the cascade to your desired rule to influence
    if you see your source code there is on top the class .responsive than #top etc. pp

    .responsive #top #wrap_all #entreprise .container {
    
    }

    the next is ( the class responsive exists even from beginning – it is not added in case of responsiveness)
    you have to work with media querries to solve your problem f.e. (if you set it to phones only you need here 768px)

    @media only screen and (min-width: 990px) {
    .responsive #top #wrap_all #entreprise .container {
    …………
    }
    }

    PS on top you are talking about padding and in your code there is margin. What would you like to influnce here?

    Because container had padding left right (0 50px)
    the following content in it has padding bottom top (padding-bottom, padding-top – each 50px).

    if you want to remove both there are two rules needed:

    @media only screen and (min-width: 990px) {
    .responsive #top #wrap_all #entreprise .container {
    max-width: 100% !important;
    padding: 0px !important;
    }
    .responsive #top #wrap_all #entreprise .content {
    padding-bottom: 0px !important;
    padding-top: 0px !important;
    }
    }
    • This reply was modified 7 years, 10 months ago by Guenni007.
    in reply to: please help in german ! Anker / Sprungmarken bei Textlinks #740823

    sorry ich war doch glatt der Überzeugung, dass für die Ankernavigation die entsprechende ID vorhanden sein sollte.
    naja – hier hört dann meine Fähigkeit auf – viel Erfolg

    in reply to: malware warning related to avia template builder! #740820

    by the way – on one installation i have wordfence too and after a scan they told me that some files are not original and are changed.
    They do not see that i have installed a german version of WordPress – so every translated wordpress file (f.e. wp-config-sample.php) is set to suspicious.

    in reply to: please help in german ! Anker / Sprungmarken bei Textlinks #740304

    ich sehe auf der gesamten Seite keine ID Kinderanzahl
    ausserdem immer bedenken: Ankerbezeichnungen sind casesensitive – also auch auf Groß/Kleinschreibung achten.

    Well first of all you can set these post date information to display none. If you must use the enfold layout for that and you want the event date on that place you have to code it for yourself – i use eventsmanger and there are a lot of shortcodes for the events – and a lot of php analogons for example of event date and time. I think events Calendar got this too.
    the php you have to change is the postslider.php

    But isn’t there a good shortcode for an event listing that fits your style. Or does Events Calendar have some Event Templates you can use here on enfold?

    I thing there is a photo view which is nearby the enfold listing

    if you turn your phone from portrait to landscape – the layerslider stays landscape (it is only adapted to smaller screenwidth) isn’t it?
    All my advanced layersliders behave like that!

    by the way – i do not see the link because i’m a participant too. But learning from other sites is allways a nice and easy way to learn.

    • This reply was modified 7 years, 10 months ago by Guenni007.
Viewing 30 posts - 9,361 through 9,390 (of 10,894 total)