-
AuthorPosts
-
September 26, 2016 at 12:59 pm #691589
hallo, ich habe versucht über die quick css möglichkeit die farbe der sidebar zu ändern. dies gelingt mir aber nur bedingt. scheinbar wird nur rund um die widgets die farbe geändert? es bleibt ganz rechts und unten die original farbe des themes erhalten.
was mache ich falsch?
- This topic was modified 8 years, 3 months ago by Austrianweb.
September 26, 2016 at 4:27 pm #691770Hey Austrianweb,
wir bräuchten einen präzisen Link, der zeigt wovon du redest. Zeig uns genau was du anders haben möchtest.
Gruß,
AndySeptember 27, 2016 at 8:25 am #692081hallo. unten der link. ich will eigentlich nur die gesamte sidebar mit einer anderen hintergrundfarbe versehen.
September 30, 2016 at 9:20 am #693570Hi,
Please add this in the functions.php file:
add_action( 'wp_footer', 'ava_custom_script' ); function ava_custom_script() { ?> <script type="text/javascript"> (function($){ var a = function() { var ch = $('.container .av-content-small.units').height(); $('#top #main .sidebar ').css('height', ch); } a(); })(jQuery); </script> <?php }
And this code in the Quick CSS field:
#top #main .sidebar { background: red; }
Change the color as needed. :)
Best regards,
IsmaelJanuary 2, 2017 at 4:09 pm #728666Hello, I have taken over the pre-supplements. Unfortunately the website
http://www.imweb-demo.de
shows only one strip in red and not the whole sidebar.Kind regards,
AnnetteJanuary 3, 2017 at 7:32 am #728866Hi,
Thank you for the update. Please post the login details in the private field so that we can test the script further.
Best regards,
IsmaelJanuary 3, 2017 at 12:21 pm #728945Hallo ,
anbei die Login Daten
Gruss annette
January 4, 2017 at 6:42 am #729303Hi,
I’m sorry but the login credentials are not working.
We modified the code a bit. Please try it again.
add_action( 'wp_footer', 'ava_custom_script' ); function ava_custom_script() { ?> <script type="text/javascript"> (function($){ var a = function() { var ch = $('.container .av-content-small.units').height(); $('#top #main .sidebar ').css('height', ch); } $(window).load(function() { a(); }); $(window).on('debouncedresize', function() { a(); }); })(jQuery); </script> <?php }
Best regards,
IsmaelJanuary 4, 2017 at 1:11 pm #729377Hallo Ismel,
I use the modification the stroke is wider covers but not yet the complete sidebar.
Enclosed again the access codeJanuary 6, 2017 at 4:04 am #730134Hi,
Thank you for the info. We added a few css modifications in the Quick CSS field. Please remove browser cache before checking the page.
Best regards,
IsmaelJanuary 6, 2017 at 2:15 pm #730353Thanks, Annette
January 7, 2017 at 6:35 am #730605 -
AuthorPosts
- You must be logged in to reply to this topic.