Forum Replies Created

Viewing 30 posts - 10,411 through 10,440 (of 11,187 total)
  • Author
    Posts
  • in reply to: Inline svg maybe as logo #597924

    i see that this is defined in the “function-set-avia-frontend.php”

    isn’t it possible to use perhaps the “$use_image” to insert a inline svg ? instead of the $sub ?

    maybe something like this:

    add_filter('avf_logo', 'kriesi_logo_addition');
    function kriesi_logo_addition($use_image)
    {
      $use_image .=   ???
      return $use_image;
    }

    if i use in “function-set-avia-frontend.php” :

    if($logo = avia_get_option('logo'))
    {
    	$logo = apply_filters('avf_logo', $logo);
    	if(is_numeric($logo)){ $logo = wp_get_attachment_image_src($logo, 'full'); $logo = $logo[0]; }
    	$logo = file_get_contents($logo);
    	$logo = "<$headline_type class='logo'><a href='".$link."'>".$logo."$sub</a></$headline_type>";
    }

    but i don’t want to think at every time i update the theme on that change.

    • This reply was modified 8 years, 11 months ago by Guenni007.
    in reply to: Inline svg maybe as logo #597899

    i thought i can take the whole content of the svg and rename it f.e: inline-logo.svg.php
    i can place this in root of child-theme and try to “get” it as inline.svg via
    get_template_part('images/inline', 'logo.svg')

    __________________________________________

    on your code – i use it often in this form :

    add_filter('avf_logo_subtext', 'kriesi_logo_addition');
    function kriesi_logo_addition($sub)
    {
      $sub .= "<span class='logo-title'>";
      $sub .= get_bloginfo( 'name', 'display' );
      $sub .= "</span>";
      $sub .= "<span class='logo-title logo-subtitle'>";
      $sub .= get_bloginfo( 'description', 'display' );
      $sub .= "</span>";
      return $sub;
    }

    so i can use name and description from WP

    but how do i set in the svg code as $sub ?

    • This reply was modified 8 years, 11 months ago by Guenni007.

    Great advantage of advanced layerslider – you can determin the responsive behavior.
    so with your pictures you can set the layerslider to 100% width and 688px height and start responsiveness under 1100px etc. pp

    if you don’t have something against unproportional stretching those images you can give the slideshow a custom css class (f.e. : “specialslideshow”)

    the 100vh is the 100% screenhight ! and i substact the header hight here

    .specialslideshow img {
        height: calc(100vh - 150px);
    }

    look (sorry for using your images – if you answer here on my post i will delete them immediately)
    http://webers-testseite.de/enf02/slideshow-special/

    try to take the full-screen slider instead.
    This i think stops at the bottom of the screenheight.

    in reply to: On each page one different background image #596978

    no

    in reply to: On each page one different background image #596958

    every page of your site has its own page-id in form of a class to body ! (look to the source code of the concerning website page)
    so if you don’t want to install a plugin the only way is to set up for each page-id a unique rule in quick css

    so if you have the code above set up first the non-changing rules:

    .main_color {
        background-attachment: fixed;
        background-clip: border-box;
        background-color: #ffffff;
        background-origin: padding-box;
        background-repeat: no-repeat;
        background-size: cover;
    }

    and than for every page (even if home page got it) for example.

    .page-id-31 .main_color {
        background-image: url("//studiopsicologoverona.it/wp-content/uploads/2016/03/PSICOLOGO-VERONA-GIORGIO-DAL-MASO.jpg");
    }
    .page-id-65 .main_color {
        background-image: url("//studiopsicologoverona.it/wp-content/uploads/2016/03/PSICOLOGO-ROMA-GIORGIO-DAL-MASO.jpg");
    }
    in reply to: On each page one different background image #595688

    you can see it here : http://webers-testseite.de/enf02/ and here http://webers-testseite.de/enf02/company/

    and i only set up in quick css :

    #wrap_all, #main  {
        background: transparent !important
    }
    
    .main_color {
        background: rgba(255, 255, 255, 0.8) 
    }
    in reply to: On each page one different background image #595680

    by the way : maybe this is a nice little plugin – http://inoplugs.com/portfolio-item/wp-backgrounds-lite-version/

    on every page or post you can choose a different background image – and i think it is set to cover and fixed allready

    in reply to: On each page one different background image #595658
    .main_color {
        background-attachment: fixed;
        background-clip: border-box;
        background-color: #ffffff;
        background-image: url("//studiopsicologoverona.it/wp-content/uploads/2016/03/PSICOLOGO-VERONA-GIORGIO-DAL-MASO.jpg");
        background-origin: padding-box;
        background-repeat: no-repeat;
        background-size: cover;
    }

    cover means that it stretches the image to the limitating size and the other one goes to auto

    see difference to contain instead of cover

    in reply to: On each page one different background image #595635

    it is now in maintenance mode !

    in reply to: Text to be align #595592

    if these text blocks are repeated every time you can give them a custom class.
    Do that and than we find that way you like. in the absence thereof i selected that special block by doing that trick.

    And we should then better take relativ width like 70% to stay responsive !

    something like this – so you have to set the custom class “blocksatz” and do:

    .blocksatz {
        margin: 0 auto;
        text-align: justify;
        width: 70%;
    }

    btw: very nice photos !!!

    • This reply was modified 8 years, 11 months ago by Guenni007.
    in reply to: On each page one different background image #595589

    why are you using the stretched layout?
    If you want something behind your Content to see – you have to have something semitransparent on your site!

    this here is a handmade yaml4 site which is made by a trainee of mine. you want that this effect is on your page ?

    http://webers-testseite.de/example/index.html

    in reply to: Text to be align #595585

    btw. on wordpress everytime you press in a text-editor a return an auto p was set. (wpautop)
    you only have the choice to avoid that by pressing the shift key.

    in reply to: Text to be align #595584

    click on the last image – to zoom in – on the right side there you can see the html code with 6 p tags

    if you make that section smaller like:

    .page-id-18725 main .av_textblock_section:nth-child(4) {
        margin: 0 auto;
        width: 500px;
    }

    you will have :

    in reply to: Text to be align #595576

    look here – before the justify rule can have any effect on this text a p tag closes the one-sentense thing.

    those sentences which are long enough ends on the right side.

    these textblocks in one <p>…</p> tag are too short

    • This reply was modified 8 years, 11 months ago by Guenni007.
    in reply to: Text to be align #595573

    enough text in one p tage the justify rule can take effect !

    in reply to: Text to be align #595571

    every block in an own p tag !

    also ohne die Seite zu sehen ist das schwer zu sagen.
    Da musst du dann eben warten bis ein Moderator hier vorbeischaut – falls du im private Bereich sowas gepostet haben solltest.

    without a link to the concerning website it is hard to say. so – please wait on a moderator (if you have still posted in private Area a link)

    btw: you got the stretched layout? where do you place the background image ( in wrap_all etc pp ???)

    • This reply was modified 8 years, 11 months ago by Guenni007.
    in reply to: Text to be align #595563

    if you set in this code:

    .avia_textblock > p {
        text-align: justify;
    }

    you see under your images the text in a block – but under Lisbon the text is a different thing

    in reply to: Text to be align #595561

    you only read the code and thats it?

    do you see what i wrote first !

    6 p tags do not allow a justify rule

    in reply to: Text to be align #595557

    the text under Lisbon is in 6 different p tags so even if there is a justify rule this would have no effect !
    6 p tags in that little text. Do you have copy pasted it from another website?
    and you pasted it into the visual field of your text edit !

    ____________________

    btw: the images on the end of this page:
    how do you embed those images to your enfold.
    the images are 980px wide so it is not enough.
    only a rule is set to them for max-width: 980px – but where does this come from? is it a plugin ?

    if you set

    .avia_textblock img {
        max-width: 100%;
        width: 100% !important;
    }

    but this is not the solution – this will change every img inside a textblock
    there has to be an inline definition:

    <img width="980" height="551" sizes="(max-width: 980px) 100vw, 980px" srcset="http://www. … etc pp

    in reply to: Mysterious Plugin Needs Updating #595331

    have you logged in to your mysql database?
    Try to optimize/repair your database tables

    in reply to: Slide-Show (volle Breite) – Maximale Höhe einstellen #595243

    Also – du bist dort auf der Seite im Boxed Layout Modus! Und du möchtest jetzt einen Slider haben, der trotzdem über die volle Breite geht?

    in reply to: Full Width Sub Menu #593974

    so you mean that mega-div sub-menu set on menu ?
    to set it to 100vw (100%screenwidth) is not the thing but the positioning is the thing here. on avis.js there is a calculation of the right positioning of that unit. – so please wait on a moderator – perhaps there is a possibility.

    in reply to: Mobile cart issue #593970

    ok – try this here on quick css:

    @media only screen and (max-width: 480px) {
    .cart_dropdown .dropdown_widget {
        width: 245px !important;
    }
    }
    in reply to: Register form doesn't work #593958

    what Register do you mean – that of a new user in wordpress?
    Or do you have a plugin installed for that new users

    in reply to: Mobile cart issue #593896

    so – good that i can see the url in your screenshot – try to make the dropdown smaller:

    .cart_dropdown .dropdown_widget {
        width: 250px;
    }

    maybe it is needed that you set the rule to !important

    in reply to: Register form doesn't work #593894

    isn’t there a checkbox “yes i know – and go on with weak password”

    in reply to: Problem identifying css classes #593892

    there are alot of tutorials to use such tools f.e. : https://youtu.be/tdIk2PztcL0?t=2m54s

Viewing 30 posts - 10,411 through 10,440 (of 11,187 total)