Forum Replies Created
-
AuthorPosts
-
i think you have to edit in function-set-avia-frontend.php (framework folder/php/) some lines!
here you can see the avia_logo funktion is defined:if(!function_exists('avia_logo')) { /** * return the logo of the theme. if a logo was uploaded and set at the backend options panel display it * otherwise display the logo file linked in the css file for the .bg-logo class * @return string the logo + url */ function avia_logo($use_image = "", $sub = "", $headline_type = "h1", $dimension = "") { $use_image = apply_filters('avf_logo', $use_image); $headline_type = apply_filters('avf_logo_headline', $headline_type); $sub = apply_filters('avf_logo_subtext', $sub); $alt = apply_filters('avf_logo_alt', get_bloginfo('name')); $link = apply_filters('avf_logo_link', home_url('/')); if($sub) $sub = "<span class='subtext'>$sub</span>"; if($dimension === true) $dimension = "height='100' width='300'"; //basically just for better page speed ranking :P if($logo = avia_get_option('logo')) { $logo = apply_filters('avf_logo', $logo); $logo = "<img {$dimension} src='{$logo}' alt='{$alt}' />"; $logo = "<$headline_type class='logo'><a href='".$link."'>".$logo."$sub</a></$headline_type>"; } else { $logo = get_bloginfo('name'); if($use_image) $logo = "<img {$dimension} src='{$use_image}' alt='{$alt}' title='{$logo}'/>"; $logo = "<$headline_type class='logo bg-logo'><a href='".$link."'>".$logo."$sub</a></$headline_type>"; } $logo = apply_filters('avf_logo_final_output', $logo, $use_image, $headline_type, $sub, $alt, $link); return $logo; } }
but please don’t ask me how to do it best
thanks for your advice. I thought that the place just before (at th bottom of functions.php)
require_once( 'functions-enfold.php');
is best for it.
the reason why i don’t use a child setup was that a few versions ago i got some trouble updating the theme in this environment.
But since i update the theme allways manual via ftp – your right – i go back an create a childtheme setup.wood for the trees
i added between aif (function_exists('avia_favicon')) { echo avia_favicon(avia_get_option('favicon')); } echo "\n"; if (function_exists('avia_appleicon')) { echo avia_appleicon(avia_get_option('appleicon')); }
or is that too quick and dirty ?
This reply has been marked as private.This reply has been marked as private.May 9, 2014 at 2:11 pm in reply to: BUG REPORT: 2.7.1 Update Changed Custom CSS Socket Behavior — Need a fix please #262366This reply has been marked as private.ein link wäre schön, denn ich will nicht unbedingt meine Seite umstellen müssen um das abzuchecken.
by the way – the last advice will do the job without changing the display status !
or try this in case you do not want to cut your pictures:
.avia-content-slider .slide-image, .avia-content-slider .slide-image img { border-radius: 2px; display: inline-block; position: relative; }
and for heaving the overlay effect on the complete image try this:
.slide-image, .image-overlay { max-height: auto; }
- This reply was modified 10 years, 6 months ago by Guenni007.
May 8, 2014 at 10:59 am in reply to: BUG REPORT: 2.7.1 Update Changed Custom CSS Socket Behavior — Need a fix please #261706i think something has changed with fixed positioning in general.
on 2.7 the fixed Background Pictures are working perfectly on my Ipad!
on 2.71 not ! What happend?Edit: oh sorry someone changed on my illustrator the export options for svgs.
So everything is allright now. Sorrythere is a check for custom link url in the masonry-entries.php on line 727
if(!post_password_required($id)){ $custom_link = get_post_meta( $id ,'_portfolio_custom_link', true) != "" ? get_post_meta( $id ,'_portfolio_custom_link_url', true) : false; if($custom_link) $this->loop[$key]['url'] = $custom_link; } break;
is it possible to insert here a target=_blank
because that will be ok – if there is an external link than open a new window – if not open normalperhaps it will be easier to create a new array for the target but i don’t find it where i can insert it.
This will be a great thing because the most links of portfolio should be self but in some case it will be nice to have an input field for blankis it possible to make a set-up that if a class is set (f.e. extlink) the target is blank and if not the link goes to self ?
i activated the custom.css by using
add_theme_support('avia_template_builder_custom_css');
in functions.php
so i can give the masonry field a special class.btw. because of updates the string is now on line 548
- This reply was modified 10 years, 9 months ago by Guenni007.
https://kriesi.at/support/topic/enfold-showcase/#post-116454
very nice Medienvirus – but this is Jupiter Theme – isn’t it ?
- This reply was modified 10 years, 9 months ago by Guenni007.
-
AuthorPosts