Forum Replies Created
-
AuthorPosts
-
Hi,
the centering of the items still does not work. Can you take a look?Best Regards
Hello,
I have tried to get on with question 2. (logo size) of my first post, but no results. Perhaps you can help here to.Best Regards
Hello Victoria,
thanks, but the only thing that happens is that the search magnifier has gone in the next line on (i)Pads. No centering.Can you help?
Best Regards
Hi,
ok, thanks for your help. You can close the topic.For those who are interested this is the CSS code for a grey box with image on the left:
.grey-box { background-color: #e6e6e6; margin-bottom: 15px; margin-top: 15px; padding: 25px; display: flex; } .grey-box .image-section { width: 25%; font-size: 10px; font-family: Monserrat; font-weight: 500; line-height: 1.6; } .grey-box .text-section { width: 75%; padding-left: 25px; padding-right: 25px; font-size: 10px; font-family: Monserrat; font-weight: 500; line-height: 1.6; flex-direction: column; display: flex; justify-content: center; } .grey-box .text-section p { margin: 0px; } @media (max-width: 600px) { .grey-box { padding: 15px; display: block; } .grey-box .image-section { margin-bottom: 15px; width: 100%; } .grey-box .text-section { padding: 0px; width: 100%; } }
And the html in the post editor:
<div class="grey-box"> <div class="image-section"> <img class="alignnone wp-image-1590 size-medium" src="xxx.jpg" alt="" width="234" height="300" /><br>Caption if needed </div> <div class="text-section"> Aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa quialiquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa quialiquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa quialiquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa quialiquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa quialiquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa </div> </div>
Yes, could be done with <figure> element also. ;-)
Best Regards
- This reply was modified 6 years, 9 months ago by Sigmund.
Hi,
I guess you are correct ;-). Is there a way to integrate a new theme shortcode layout element via PHP?Best
Hello Jordan,
I cannot use color section in a post without the advanced layout builder. A describded in my envireoment I cannot use this layout builder.
Best RegardsYes, you can close the topic.
Best RegardsHi Nikko,
that works! Thank you very much.Best Regards
Hello,
great! I have changed it to#top .av-magazine-thumbnail, #top .av-magazine-thumbnail a, #top .av-magazine-thumbnail a img { width:100% !important; }
and now it works. Thanks for that!
Best Regards
- This reply was modified 6 years, 10 months ago by Sigmund.
Hello Rikard,
thanks. The code does not chance anything. Can you have a second look?
BestYes, thanks.
- This reply was modified 6 years, 10 months ago by Sigmund.
Yes, thanks. You can close the topic.
Best Regards
JörgJanuary 11, 2018 at 10:02 am in reply to: Responsive 4 col footer to 2 col footer on tablets #896065Hello Rikard,
great! That works. You can close the topic.
Best RegardsHi,
thanks Rikard. I have tried your code and later found it myself. I had to change the color of “Alternate Background for menu hover, tables etc” for the Main Content.You can close the topic. Thanks once again.
Best Regards
Yes, that helps. You can close the topic. Thanks Mike.
Best RegardsHi,
yes, perhaps you can help: The images of the post slider now have a grey background left and right on some tablet screensizes (like ipad mini in landscape mode). You can simulate that by browser resizing.Best Regards
Great, that works! Thank you, Rikard.
Best RegardsThis reply has been marked as private.Hi,
I have tried it with the code from above which did not work for me. So I took the plugin Edit Author Slug (https://de.wordpress.org/plugins/edit-author-slug/ ) which did the job.Best Regards
Thanks, Shannon, you are correct. I will try that.
Best Regards
Thanks, Mike, that works for me!
Best RegardsHi Ismael,
thanks, that worked great. And thanks ones again for the great support from the kriesi team.Best Regards
Hi Rikard,
thanks for coming in. No, I know how to remove the seperators. I need the post info in the search results like:Date | Category | Author
1. Author is missing at the moment. But I want it.
2. Comments should not appear. At the moment this is the empty space between the pipes.Best Regards
October 12, 2017 at 10:13 pm in reply to: Masonry with currently active taxonomy: Word before #863637Hello,
I have found it out by myself.#top .av-current-sort-title:before { content:"Events: "; color:#333333; }
sets the word “Events” before currently active taxonomy.
Best Regards
Hi Mike,
thanks for the reply. No, want to modify the link, so it does not link to a “archive page that displays all posts in that category” but to specific “normal” page I have builded. So all posts with the category “xyz” are linked to that page and posts with another category go to another page I have builded.The reason for that is that the archive pages are not good to layout.
Best Regards
SigmundGreat, that does the trick. As always, great support at Kriesi! Thanks for that.
Best Regards
Hi Ismael,
I have done that, it does not help.To clarify: In loop-index.php I have
$current_post['title'] = get_the_title(); $current_post['content'] = $blog_content == "content" ? get_the_content(__('Read more','avia_framework').'<span class="more-link-arrow"></span>') : get_the_excerpt(); $current_post['content'] = $blog_content == "excerpt_read_more" ? $current_post['content'].'<div class="read-more-link"><a href="'.get_permalink().'" class="more-link">'.__('[....]','avia_framework').'<span class="more-link-arrow"></span></a></div>' : $current_post['content']; $current_post['before_content'] = "";
which makes the second link [….] correct. I have searched for the first […] in theme php files, but did not find it.
An in den de_DE.mo file there is:
# @ avia_framework #: config-layerslider/LayerSlider/views/slider_list.php:253 #: config-layerslider/LayerSlider_old/views/slider_list.php:253 #: config-templatebuilder/avia-shortcodes/postslider.php:319 #: config-templatebuilder/avia-shortcodes/slideshow_feature_image.php:561 #: framework/php/function-set-avia-frontend.php:1065 #: includes/loop-index.php:55 includes/loop-index.php:56 #: includes/loop-page.php:27 includes/loop-portfolio-single.php:27 msgid "Read more" msgstr ""
In the functions.php there is:
/* Magazine Layout Startseite */ add_filter('avf_magazine_settings', 'avia_magazine_thumbnail', 10, 2); function avia_magazine_thumbnail($atts, $magazine){ $atts['image_size']['small'] = 'masonry'; return $atts; } add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1); function avia_include_shortcode_template($paths) { $template_url = get_stylesheet_directory(); array_unshift($paths, $template_url.'/shortcodes/'); return $paths; } /* magazine excerpt */ add_filter('avf_magazine_excerpt_length','avf_magazine_excerpt_new_lenght', 10, 1); function avf_magazine_excerpt_new_lenght($excerpt) { $excerpt = 140; return $excerpt; } /* beitragsbild unter headline */ function add_custom_script(){ if(is_singular('post')){ ?> <script> (function($){ $(window).load(function() { $('article.post').each(function(){ $(this).find('.entry-content-header').after($(this).find('.big-preview').detach()); }) }); })(jQuery); </script> <?php } } add_action('wp_footer', 'add_custom_script'); // mo files auch im child theme einsetzbar function overwrite_language_file_child_theme() { $lang = get_stylesheet_directory().'/lang'; return $lang; } add_filter('ava_theme_textdomain_path', 'overwrite_language_file_child_theme');
Best Regards,
- This reply was modified 7 years, 1 month ago by Sigmund.
Hello,
thanks. But this is only changing the second […] back to the default “Read more”. I want to delete the first […].
Best RegardsHi,
I have tried deactivating all plug-ins with no results. No need to apology, I am quite sure that it is my fault because I changed some PHP code in the enfold-child folder before which I now cannot get rid of. Where are the […] defined all over enfold?Best Regards
Hi,
good idea. I have changed the po to# @ avia_framework #: config-layerslider/LayerSlider/views/slider_list.php:253 #: config-layerslider/LayerSlider_old/views/slider_list.php:253 #: config-templatebuilder/avia-shortcodes/postslider.php:319 #: config-templatebuilder/avia-shortcodes/slideshow_feature_image.php:561 #: framework/php/function-set-avia-frontend.php:1065 #: includes/loop-index.php:55 includes/loop-index.php:56 #: includes/loop-page.php:27 includes/loop-portfolio-single.php:27 msgid "Read more" msgstr ""
and converted it to mo. But it did not change the issue.
Best Regards
-
AuthorPosts