Forum Replies Created
-
AuthorPosts
-
Hey Everybody,
I wrote correctly my code know.
@media only screen and (min-width: 768px) { .page-id-2 div#header_main {margin-top: 40px;} .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} } @media only screen and (min-width: 1366px) { .page-id-2 div#header_main {margin-top: 20px;} .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} }
Could someone help to move the banner at the bottom of my slider ? I tried a lot of issue but It doesn’t work…
Thanks for helping,
Best Regards,
Iceman- This reply was modified 5 years, 4 months ago by ICEMAN.
Hey Mike,
I will try It,
Thanks for helping !
Best Regards,
Iceman- This reply was modified 5 years, 4 months ago by ICEMAN.
Hi Victoria,
Could you give me an exemple with the code I put above ? I think I make this mistake in my entire css file…
Thanks for helping…
Regards
Hello everybody,
I tried but It doesn’t work. I would like my menu , logo and headband stay in the bottom of my slider.
How can I do that ?this is my code
@media only screen and (min-width: 768px) { .page-id-2 div#header_main {margin-top: 40px} .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} } @media only screen and (min-width: 1366px) { .page-id-2 div#header_main {margin-top: 20px} .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} }
If I change 40px or 2px by 400px, nothing is happening. if I change margin-top by margin bottom, nothing happeneing too…
With px definition, elements are static but they stay in the same place whatever the value (define 20px or 160px
do not change anything)Thanks in advance
Iceman
- This reply was modified 5 years, 4 months ago by ICEMAN.
Hi Victoria,
I will try and come back to you.
Regards,
IcemanThis way, I will be able to set the menu in the container.
Currently, the menu is set as a percentage of the page and this is unreliable
the first image is ok and the second is bad.
I would always like to have the right version whatever the pc.
Could I put slider and menu in a container ?
Hi Jordan, how can I send you screenshot pictures ?
I tried your example and H1 still appear like H1 by default
Hello Rikard, I tried your solution but It doesn’t work…
RegardsJune 27, 2019 at 9:50 am in reply to: How to center vertically and horizontally a block of text inside a column #1113852Hi Jordan,
The block on the bottom left is already centered horizontally but not vertically compared right text bloc..
It’s my problem…
I misspoke, what I wish is that my two columns (1/2 left and 1/2 right) which are next to each other, have the same dimensions and so, to center the block of text inside. Or, if it’s possible, to align 2 columns with different dimension vertically.Sorry for my bad english, I hope you understand what I mean…
Regards
Hi Rikard,
Thanks for your kindness, you can close this topic and thank you to all participants !!
RegardsI just found the solution.
I add this code in my child theme header.php like Jordan suggest me before and It works now.
<meta charset="<?php bloginfo( 'charset' ); ?>"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="profile" href="http://gmpg.org/xfn/11"> <link href="https://fonts.googleapis.com/css?family=Amatic+SC&display=swap" rel="stylesheet"> <?php wp_head(); ?>
So thank you Jordan and thanks to everyone for your help and your advice !
Regards
Ok, I understand. Thanks to all ! (Victoria, Rikard, Jordan and Guenni007)
Guenni007, the code below doesn’t workadd_action('wp_head', function() { ?> <link href='https://fonts.googleapis.com/css?family=Amatic+SC&display=swap' rel='stylesheet' type='text/css'> <?php });
- This reply was modified 5 years, 6 months ago by ICEMAN.
Hello Guys,
when i create a function.php in my child theme, my site does not work anymore. I am a novice. Does my function.php file of my child theme need to have any other syntax?
- This reply was modified 5 years, 6 months ago by ICEMAN.
If possible, I’d prefer not to modify header.php (parent file)
Do you have another idea ?Regards
I have just tryed to add import in quick css but It doesn’t work…
Hi Jordan,
Thanks for your answer. No, I add the import in my style.css. I already have other imports in this file and It works well…Ok , thank you Jordan,
Best RegardsThanks you Nikko, It’s perfect.
Is it possible to edit these lines in a file of my child theme instead of quick css ? I’d like to have all my changes in my child theme.
RegardsHow do I do to apply your solution for an entire page ? and for the entire website (if necessary) ?
Is it possible to apply your solution from style.css or other file of my child theme ?
- This reply was modified 5 years, 7 months ago by ICEMAN.
Thank you Nikko, It works but just for the first part of my page…
The second part is with exactly the same column settings
- This reply was modified 5 years, 7 months ago by ICEMAN.
Thanks Rikard
and the text “fade me in and out” here https://ihatetomatoes.net/demos/parallax-scroll-effect/
like the fourth in https://codepen.io/whatthephuc/pen/LjPBZa but just for the text and not the background
- This reply was modified 5 years, 7 months ago by ICEMAN.
Ok, but where do I edit my custom.css ?
Regards
It works when I put it in quick css but not in my style.css
Sorry Rikard, I would say “file”…
Thanks Rikard, I’d prefer to create a field in my child theme instead of quick css. How do I name It ?
-
AuthorPosts