Forum Replies Created
-
AuthorPosts
-
April 24, 2018 at 10:53 am in reply to: Change Secondary Menu to logo area (place of primary menu) #945829
Thank you, it works.
April 23, 2018 at 9:52 am in reply to: Change Secondary Menu to logo area (place of primary menu) #945317Hello,
for the part in the menu I need a freelancer, alright?
The main menu is moved to the left side now. I have added this code:
.html_av-overlay-side .av-burger-overlay-scroll { left: 0; right: auto; }
But the opening animation is still from right to left (closing from left to right) – How can I reverse this animation?
Best greetings.
Hello,
another question:
what should I have to do, to stretch an element from container area outside to the full screen? (as the same as the background image in any fullwidth color section)
especially I want to stretch the map in the bottom of the startpage and I want to have no space between the map and the footer.
Thank you. Now it works at firefox as well.
This is the top. That’s good.
http://herbon.de/soldier/wp-content/uploads/2018/02/OFPT_top.jpgThis is after scrolling now:
http://herbon.de/soldier/wp-content/uploads/2018/02/OFPT_scrolled_now.jpgThis is how it should be after scrolling:
http://herbon.de/soldier/wp-content/uploads/2018/02/OFPT_scrolled_should_be.jpgThe image for the logo after scrolling should be this:
http://herbon.de/soldier/wp-content/uploads/2018/02/ofpt_apfel_transp_80.pngHello,
thank you for the code. The effect is working, but finally the image doesn’t work.
I have also tried ” instead of ‘ and to upload the image with a height of 80 px:
My whole code in style.css (child folder) now is:
div .logo { left: 0px; z-index: 10000; top: 0px; height: 150px; background-color: #ff7300; } #top #header.hasScrolled .logo, #top #header.hasScrolled .logo a { height: 80px !important; } #top #header.hasScrolled .logo img { content: url('http://herbon.de/soldier/wp-content/uploads/2018/02/ofpt_apfel_transp_80.png'); max-height: 80px; }
- This reply was modified 6 years, 9 months ago by brandhands.
Thank you very much. That works.
Hello,
unfortunately it doesn’t work. The arrows are only to seen in mouseover.
This my completely code (in child.css) now:
/* Responsive Pfeilposition im Slider */
@media only screen and (min-width: 1024px) {
.avia-slideshow-arrows.avia-slideshow-controls {
width: 100%!important;
position:absolute!important;
top: 120px!important;
transform: translateY(-50%)!important;
width: 100%;
z-index:999;
}#top.page-id-16353 .avia-slideshow-arrows.avia-slideshow-controls .next-slide {
right: 0!important;
}
}@media only screen and (min-width: 480px) and (max-width: 1023px) {
.avia-slideshow-arrows.avia-slideshow-controls {
width: 100%!important;
position:absolute!important;
top: 100px!important;
transform: translateY(-50%)!important;
width: 100%;
z-index:999;
}#top.page-id-16353 .avia-slideshow-arrows.avia-slideshow-controls .next-slide {
right: 0!important;
}
}@media only screen and (max-width: 479px) {
.avia-slideshow-arrows.avia-slideshow-controls {
width: 100%!important;
position:absolute!important;
top: 80px!important;
transform: translateY(-50%)!important;
width: 100%;
z-index:999;
}#top.page-id-16353 .avia-slideshow-arrows.avia-slideshow-controls .next-slide {
right: 0!important;
}
}Yes, that’s the correctly element.
What have I to do, to have the same effect for here?
Screen
https://ibb.co/isEqjwHello,
sorry for belated answer. We were in christmas vacancy.
Maybe the IQ Block Country had blocked it. I have changed the setting. Now It should work.
Friendly Greetings.
Hello Rikard,
yes there is a country block, because of attacks by bots. Usually only Germany is allowed for backend.
Thank you, the css code did help. Now it works like wanted.
The content in my functions.php (child folder) is actually this:
<?php
/* Write your awesome functions below */add_theme_support(‘avia_template_builder_custom_css’);
// remove title
add_filter(‘avf_title_args’, function($args) {
$args[‘html’] = “<div class='{class} title_container’><div class=’container’>{additions}</div></div>”;
return $args;
});//advanced title + breadcrumb function
if(!function_exists(‘avia_title’))
{
function avia_title($args = false, $id = false)
{
global $avia_config;if(!$id) $id = avia_get_the_id();
$header_settings = avia_header_setting();
// if($header_settings[‘header_title_bar’] == ‘hidden_title_bar’) return “”;$defaults = array(
‘title’ => get_the_title($id),
‘subtitle’ => “”, //avia_post_meta($id, ‘subtitle’),
‘link’ => get_permalink($id),
‘html’ => “<div class='{class} title_container’><div class=’container’><{heading} class=’main-title entry-title’>{title}</{heading}>{additions}</div></div>”,
‘class’ => ‘stretch_full container_wrap alternate_color ‘.avia_is_dark_bg(‘alternate_color’, true),
‘breadcrumb’ => true,
‘additions’ => “”,
‘heading’ => ‘h1’ //headings are set based on this article: http://yoast.com/blog-headings-structure/
);if ( is_tax() || is_category() || is_tag() )
{
global $wp_query;$term = $wp_query->get_queried_object();
$defaults[‘link’] = get_term_link( $term );
}
else if(is_archive())
{
$defaults[‘link’] = “”;
}// Parse incomming $args into an array and merge it with $defaults
$args = wp_parse_args( $args, $defaults );
$args = apply_filters(‘avf_title_args’, $args, $id);//disable breadcrumb if requested
//if($header_settings[‘header_title_bar’] == ‘title_bar’) $args[‘breadcrumb’] = false;//disable title if requested
if($header_settings[‘header_title_bar’] == ‘breadcrumbs_only’) $args[‘title’] = ”;// OPTIONAL: Declare each item in $args as its own variable i.e. $type, $before.
extract( $args, EXTR_SKIP );if(empty($title)) $class .= ” empty_title “;
$markup = avia_markup_helper(array(‘context’ => ‘avia_title’,’echo’=>false));
if(!empty($link) && !empty($title)) $title = ““.$title.”“;
if(!empty($subtitle)) $additions .= “<div class=’title_meta meta-color’>”.wpautop($subtitle).”</div>”;
if($breadcrumb) $additions .= avia_breadcrumbs(array(‘separator’ => ‘/’, ‘richsnippet’ => true));$html = str_replace(‘{class}’, $class, $html);
$html = str_replace(‘{title}’, $title, $html);
$html = str_replace(‘{additions}’, $additions, $html);
$html = str_replace(‘{heading}’, $heading, $html);echo $html;
if(!empty($avia_config[‘slide_output’]) && !avia_is_dynamic_template($id) && !avia_is_overview())
{
$avia_config[‘small_title’] = $title;
}
else
{
return $html;
}
}
}add_shortcode(‘bread_crumb’, ‘avia_title’);
————————————————————-
My settings in the backend and the result in the frontend are now like in these screenshots:(gallery with 3 pictures)
- This reply was modified 7 years, 6 months ago by brandhands.
Hi,
the grey line is away now, after inserting to css. (screenshot was made before this) Is it necessary to do it for every post entry later?
The breadcrumb in the navigation menu is there 3 times now.
- This reply was modified 7 years, 6 months ago by brandhands.
Hi,
this is a usually page, I want to edit.
I have copied the lines 359-437 (from my functions-enfold.php) into my functions.php of the child folder and commented out the exactly line. It looks now like this:
// if($header_settings[‘header_title_bar’] == ‘hidden_title_bar’) return “”;
If I switch ‘off’ the breadcrumbs in the backend (‘display only title’ or ‘hide both’) then there is nothing to see. Both breadcrumb lines (in the navigation menu, but at the begin of my text-field (where my shortcode is) as well) hide.
If I switch ‘on’ the breadcrumbs in the backend (‘display only breadcrumbs’ or ‘display title and breadcrumbs’) then there are both lines to see.
My aim is to only show the breadcrumb, where my shortcode is placed, but not in the navigation menu.
Hello,
where can I find the whole “avia_title” function?
What have I to write exactly in my functions.php of my child folder?
My aim is described in this picture:
Hello,
thanks for the code snippet. I have copied it now into my child folder functions.php and have restored the 19th line in template-builder.php
But my result is still an empty field at my test page. Is there another way to build in the bread_crumb shortcode?
Best greetings,
AndréSorry, hab jetzt verspätet die Antwort gesehen. Ja Thread kann geschlossen werden.
MfG
Hello,
I have tried to copy the function add_shortcode( ‘bread_crumb’, ‘avia_title’ ); in my child theme file of functions.php and commented out the 19th line in the template-builder.php file, but what will happen there after a theme update?
The shortcode at my test page ( http://www.bbt-energieberatung.de/energie-beratung/aa-test/ ) hides, but it doesn’t work. Do I have to copy any content from functions-enfold.php into my functions.php in my child theme folder? If I work directly in the functions-enfold.php file, will it be away after any update, alright?
Greetings Andre
Hallo Andy,
ich hatte 4 Screenshots in den Link gepackt. Aber ich hatte auch schon mein Fehler entdeckt gehabt. Das lag nur daran, dass ein anderes Element (vom “Construction Mode”) nach unten gerutscht ist und dadurch genau die Zeile überdeckt hatte.
MfG
<s>Hallo,
anbei die Screenshots
MfG</s>
—–
Ich hab’s jetzt gesehen. Liegt nur am Textfeld (Construction Mode), das nach unten rutscht und sich dadurch überlagert.- This reply was modified 7 years, 8 months ago by brandhands. Reason: solution found. ticket can get closed
-
AuthorPosts