johannes999
Forum Replies Created
-
thank you ,
can I redirect this forum or I have to ask it from begining?
Forum: Everything else WordPress
In reply to: smooth scrolling has deviation on the last section?thank you very much for your response,
I have changed the margin top of contact h3
.contact-section-left-side h3 { margin-top: 5.5rem; }
,plus I made them all h4 in place of paragraph and changed the offset from -100 to -200
and it is working .
thanks again for your help
thanks
thank you very much,
I asked there.
Forum: Everything else WordPress
In reply to: which one pager free theme is good to start with it?thanks ,
I wil try it tomorrow . I have this new provider about 2 weeks which I see there is always problem with its database . my css code is not been recognizing may times and I see they don’t try to solve the problem.
tomorrow I wil go back to my old provider and open an account and then I wil try to develop with this onePress theme and let you know about it.
now is about 10 clock evening .
thanks again
Forum: Everything else WordPress
In reply to: which one pager free theme is good to start with it?sorry I see it is also scrolling beween custom links but there is only one problem when I click on home it is going directly to the top not with smoothe scrolling. I think this is because of home is real menu and the others are custom links . maybe I have to make from home also custum link and replace home page with main page and see if the problem be solved.
thanks
Forum: Everything else WordPress
In reply to: which one pager free theme is good to start with it?I have installed it and I see it is working,but there is 1 problem.
it is not going from 1 section to other and vice versa.
it is only moving to down and to up .
it is not moving beween the menu’s (interacting).
how I can solve this problem?
do I have to use javascript code to achieve it?
or there is some other ways . I have tried page scroll to ID which is also not perfect.
I see there pro version which has all the feautures but I want to achieve it myself as much as it is possible. just for learning purpose.
Forum: Everything else WordPress
In reply to: which one pager free theme is good to start with it?thanks,
is this mean that I don’t need smoothscroller html code or smoothscroller.js code to build one page website with this theme?
does this mean only I need to make 1 homepage and in customizer add cutomlinks and the theme is ready to got?
off course I have to customize the theme.
thank you
Forum: Everything else WordPress
In reply to: the typewriter animation has deviation only on firefox?tyour code is OK
but I changed my mind because I see typewritter is not SEO friendly .
thanks
Forum: Everything else WordPress
In reply to: the typewriter animation has deviation only on firefox?tthanks,
I see your code is OK.
sorrry that I replied little too late.
my css code is not working because of corrupted database .
I have to install all from new then I see what happens with typewritter and I let you know .
thanks again
after thinking a while I decided to use only 2 aspect-ratio’s for all the images in wordpress.
1-16.9
2-3(portrait)
and add let few moer srcset sizes in wordpress with this code in function.php:
function custom_image_sizes() { add_image_size('for-example-size-1', 300, 200, true); // Custom Size 1 (300x200 pixels) add_image_size('for-example-size-2', 600, 400, true); // Custom Size 2 (600x400 pixels) add_image_size('for-example-size-3', 800, 600, true); // Custom Size 3 (800x600 pixels) } add_action('after_setup_theme', 'custom_image_sizes');
I see that the wordpress has already core function for srcset :
wp_calculate_image_srcset().
thanks
thanks ,
I know when I go on image in inspect elements I see the srcset code .
but it was not enough for Gmetrix or google insights .
so I tried srcset with more options and it gave more results .
but I saw it is a lot of work and it doesn’t worth when you have for example 50 images.
I found that I have to use for headers:
1- 1920-1080(16.9)
2-800-1200(2.3)
3-1000-1000(1.1)
4-1200-800(3.2)
and for text images
16.9 –
1.1
2.3
and plus :
function custom_image_sizes() { add_image_size('custom-size-1', 300, 200, true); // Custom Size 1 (300x200 pixels) add_image_size('custom-size-2', 600, 400, true); // Custom Size 2 (600x400 pixels) add_image_size('custom-size-3', 800, 600, true); // Custom Size 3 (800x600 pixels) } add_action('after_setup_theme', 'custom_image_sizes');
ad create more srcset code in function.php regards media queries and let the wordpress do the rest .
what do you think am I right or wrong?
thanks
after writhing this thread I searched in google and I found this solution:
function custom_image_sizes() { add_image_size('custom-size-1', 300, 200, true); // Custom Size 1 (300x200 pixels) add_image_size('custom-size-2', 600, 400, true); // Custom Size 2 (600x400 pixels) add_image_size('custom-size-3', 800, 600, true); // Custom Size 3 (800x600 pixels) } add_action('after_setup_theme', 'custom_image_sizes');
I have to paste this in function.php so I can change the default 3 sizes to 5 sizes and then use regenerate plug in to convert existing images in media to this 5 sizes.
in this way I don’t need to use srcset .
I see there is also simpel image sizes plug in to achieve this purpose . but I prefer code.
any advice is welkcome!
Forum: Plugins
In reply to: [LiteSpeed Cache] SERVER IP error notification in litespeed?thank you very much
Forum: Plugins
In reply to: [LiteSpeed Cache] SERVER IP error notification in litespeed?thanks,
but if I want to use IQUIC cdn do I have to let this SERVER IP field empty?
or I have to put also my sites IPv4 adres?
thanks again