Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #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.
    #691770

    Hey Austrianweb,

    wir bräuchten einen präzisen Link, der zeigt wovon du redest. Zeig uns genau was du anders haben möchtest.

    Gruß,
    Andy

    #692081

    hallo. unten der link. ich will eigentlich nur die gesamte sidebar mit einer anderen hintergrundfarbe versehen.

    #693570

    Hi,

    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,
    Ismael

    #728666

    Hello, 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,
    Annette

    #728866

    Hi,

    Thank you for the update. Please post the login details in the private field so that we can test the script further.

    Best regards,
    Ismael

    #728945

    Hallo ,

    anbei die Login Daten

    Gruss annette

    #729303

    Hi,

    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,
    Ismael

    #729377

    Hallo Ismel,
    I use the modification the stroke is wider covers but not yet the complete sidebar.
    Enclosed again the access code

    #730134

    Hi,

    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,
    Ismael

    #730353

    Thanks, Annette

    #730605

    Hi,

    Glad we could help :-)

    Please let us know if you should need any further help on the topic.

    Best regards,
    Rikard

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.