Forum Replies Created
-
AuthorPosts
-
September 21, 2019 at 9:40 am in reply to: display image size and weights in media library screen #1140430
Thank you Guenni007, it’s nice of you. It’s work perfectly !
Regads
IcemanNobody can help ?
I really need a solution. My pack of 5 photos’s weight is 611ko and the Pingdom test shown that my slider with these 5 images’weight is 2.88 Mo.
The weight of my photos is multiplied by 5 ! What’s wrong ?
RegardsSeptember 21, 2019 at 7:40 am in reply to: display image size and weights in media library screen #1140407Ok Jordan I understand.
Thank you for your answer.
Regardsok Nikko, I understand, thanks for your help,
Regards
In fact, I would like to know if I have to put 2 different size of a photo, one for mobile(500×333) and another one for desktop (1000×660) ?
If not necessary , how can I do to showing image at 500×333 for mobile and loading at 500×333 and not loading at 1000×660. Because actually, my website isn’t faster because of loading at 1000×660 for mobile. (see home page in private)Thank you Victoria,
But is it important to have exactly the same size If I ajust with width ?
Regards,
IcemanHi Rikard,
Thank you for your help, it’s very nice of you,
You can close this topic,
Best Regards,
IcemanOk, perfect, thank you Ismael, it’s very nice of you.
You can close the topic.
Have a good evening !
Best Regards,
IcemanVictoria,
So you can see the content at the bottom of my page in private content
<h3 class="my-header-class" style="text-align: center;">Kriesi.at support</h3>
and in my style.css:
.my-header-class { color:red; }
The class is not apply.
Regards,
Iceman- This reply was modified 5 years, 3 months ago by ICEMAN.
Thank you Ismael, I am still trying to change with the code but I will use your solution.
Thank you again for your kindness,However I’ve already tried your solution but the logos are not displayed because they are too big regarding to the 1/4 columns
Kind Regards
Iceman
- This reply was modified 5 years, 3 months ago by ICEMAN.
hey Ismael, thanks for your response.
I change the width and height in order to have similar size but I’m looking for columns symmetry in relation to the middle of the screen like in the drawing in the link below, but meanwhile, I got there and now I would like to reduce the space between the two columns
Sorry if I mis explain. My english is not as good as i would like…..
Best Regards,
Iceman- This reply was modified 5 years, 3 months ago by ICEMAN.
Hey Ismael,
I find a temporary solution. I use easy slider full width and hide it for large screen in the element’s Screen Options, so i have two slider, full screen slider for desktop and laptop and easy slider full width for mobile and tablette (portrait).
But for my knowledge and to improve my experience enfold I would like to find a soution in order to use just full screen slider.
So take a look to my previews message when I explain what I wuld like to have.Thanks in advance Ismael and have a good day !
Regards,
IcemanThank you Ismael, it’s very nice of you to help me !
I applied your solution but I would like to have my slider on mobile and my menu and logo above it.Your solution for my home in large screen is very good.
If I suppress the function you give to me for my functions.php , mobile home is exactly like I want it to be but that disturbs my home on large screen.
Do you have an idea to shutdown this function code for mobile ?Thanks in advance,
Best Regards,
Iceman
- This reply was modified 5 years, 3 months ago by ICEMAN.
Hello to all,
if someone can help me with my problem it would be nice because my mobile site does not work properly and I can not find a solution…
Best Regards,
IcemanI tried this
// Ismael function function ava_move_full_screen_slider_above_header(){ ?> <script type="text/javascript"> (function($) if ($(window).width()>480) { $(document).ready(function($){ $("#main > .avia-fullscreen-slider").insertBefore("#header"); else{} }); })(jQuery); </script> <?php } add_action('wp_footer', 'ava_move_full_screen_slider_above_header');
It works for mobile but menu and logo disappear from my home page on computer (large sreen)…
In fact, I would like the mobile display as it was before the modifications.
How should I do to make sure that the modifications do not apply to the mobile display ?Maybe something like that :
$(function() { if ($(window).width()>480){ } else{} });
but I don’t know how to write this….
Best Regards,
Iceman- This reply was modified 5 years, 3 months ago by ICEMAN.
I solved the problem of transparency by adding this to Ismael’s CSS code:
#header { margin-top: -200px; background-color: rgba(255, 255, 255, 0.25)!important }
Now I only have the problem of displaying the menu on mobile…
- This reply was modified 5 years, 3 months ago by ICEMAN.
Hey Rikard,
Here is the link in private content,
Best Regards,
IcemanHello to all !
I retried Ismael solution and it’s work good now !
My functions.php code is:
// Ismael function function ava_move_full_screen_slider_above_header(){ ?> <script type="text/javascript"> (function($) { $(document).ready(function($){ $("#main > .avia-fullscreen-slider").insertBefore("#header"); }); })(jQuery); </script> <?php } add_action('wp_footer', 'ava_move_full_screen_slider_above_header');
and my CSS:
.page-id-2 #header {margin-top: -200px;}
in order to apply just for my home page.
How can I apply my previous transparency setting in order to have the result you can see in screen capture?
My previous CSS was:@media only screen and (min-width: 768px) { .page-id-2 div#header_main {margin-top: 520px;} .page-id-2 div#header_main_alternate {margin-top: 2px;} .page-id-2 .av_header_transparency #header_main, #top .av_header_transparency .avia-menu.av_menu_icon_beside {background-color: rgba(255, 255, 255, 0.25)!important}
Another important problem after these modifications: the mobile site doesn’t work anymore. The menu does not display correctly and I would like it to be in the top of the mobile site with the logo.
In fact, I would like the mobile display as it was before the modifications.
How should I do to make sure that the modifications do not apply to the mobile display ?I leave the modifications until tonight because I can not leave the site like that too long so that you can see the malfunctions
Thanks for your help !
Best Regards,
Iceman- This reply was modified 5 years, 3 months ago by ICEMAN.
Hi Ismael,
Is “temporary-login-without-password” a good plugin for that or maybe do you have another suggest ?
Regards,
Iceman
- This reply was modified 5 years, 3 months ago by ICEMAN.
Hi Ismael,
I tried your solution but it doesn’t work (see the result in private content ).
Moreover header transparency doesn’t work anymore.
So I replaced my css code by
#header { margin-top: -100px; }
And my child theme functions.php with your suggest is
<?php // Balise d'ouverture PHP // ================================================================== // THIS IS MY FUNCTIONS.PHP // ================================================================== function mon_theme_mce_buttons_2($buttons) { array_unshift($buttons, 'styleselect'); return $buttons; } add_filter('mce_buttons_2', 'mon_theme_mce_buttons_2'); function mon_theme_add_editor_styles() { add_editor_style( 'custom-editor-style.css' ); } add_action( 'init', 'mon_theme_add_editor_styles' ); function my_mce_before_init_insert_formats( $init_array ) { $style_formats = array( // Chaque array défini 1 style array( 'title' => 'Bouton 1', 'block' => 'div', 'classes' => 'btn1', 'wrapper' => true, ),array( 'title' => 'Bouton 2', 'inline' => 'span', 'classes' => 'btn2', 'wrapper' => false, ), ); // We add our style to existing ones $init_array['style_formats'] = json_encode( $style_formats ); return $init_array; } add_filter( 'tiny_mce_before_init', 'my_mce_before_init_insert_formats'); // Ismael function function ava_move_full_screen_slider_above_header(){ ?> <script type="text/javascript"> (function($) { $(document).ready(function($){ $("#main > .avia-fullscreen-slider").insertBefore("#header"); }); })(jQuery); </script> <?php } add_action('wp_footer', 'ava_move_full_screen_slider_above_header'); // My Javascript function wpb_hook_javascript() { ?> <script> // your javscript code goes </script> <?php } add_action('wp_head', 'wpb_hook_javascript'); ?>
Best Regards,
Iceman- This reply was modified 5 years, 3 months ago by ICEMAN.
Hi Ismael, I hope you received my message.
Regards,
IcemanThank you Ismael, It’s nice of you.
But, I want to have my menu like in the drawing in private content.Regards
- This reply was modified 5 years, 3 months ago by ICEMAN.
I think a good solution is to fix the header in relation to the slider and not in relation to the display but I don’t know how to do It.
The display is a variable parameter, It changes constantly
Regards
- This reply was modified 5 years, 3 months ago by ICEMAN.
So I worked on my issue. A solution is to make mobile display works if the screen is smaller than width 680px and height 650px.
How can I define that ?
Best Regards
Iceman- This reply was modified 5 years, 3 months ago by ICEMAN.
Hello again,
Please I really need help for my main page.
If I suppress entirely the CSS code I post above, nothing changes on the display so my CSS code is not taken into account.
Probably syntax error…
Best Regards,
IcemanNobody have any idea ?…
Victoria, I understand what you mean but I don’t have any exemple to show you.
I would like to have a second different H1 style. I think Rikard issue is a good solution but I don’t know why it doesn’t work.
Regards,
IcemanHi everyone,
I come back to Rikard issue
I put `.my-header-class {
color:red;
}` on my CSS and when I put this<h1 class="my-header-class">My header</h1>
It doesn’t work but if I change by<h1 class="my-header-class">My header</h1>
It works.I would like to have a specific action on H1 style so does anyone have an idea to make “H1 class » works ?
Thanks in advance,
Regards,
IcemanHi Jordan,
You can closed this topic.
Best Regards,
Iceman -
AuthorPosts