Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter 17Mark

    (@17mark)

    Thanks it is working but I have little problem. `function modify_read_more_link() {
    return ‘<a href=”‘ . get_permalink() . ‘”><div class=”more-link ‘ . custom_color() . ‘”>Čítať viac</div></a>’;
    }
    add_filter( ‘the_content_more_link’, ‘modify_read_more_link’ );`
    When I have this code, link is duplicated. There is picture

    Thread Starter 17Mark

    (@17mark)

    Yes I know media queries but I need button on the webpage. If it had done so in my opinion I would use it simply media queries but I must add this button and I don’t know how could I launch required part of code.

    Thread Starter 17Mark

    (@17mark)

    There are errors from console:
    imgur.com/Y5lVRAP

    Thread Starter 17Mark

    (@17mark)

    Hi, all scripts are included only aren’t working (see image in link). When I deactivate plugin, my scripts are working.
    I tried some other name of function and it still does not work.
    Image

    Thread Starter 17Mark

    (@17mark)

    Thanks

    Thread Starter 17Mark

    (@17mark)

    No I have not public link, it is only on virtual server which i have install on my PC

    Thread Starter 17Mark

    (@17mark)

    Can be problem in the JS code or CSS?
    This is from style.css:

    nav ul ul.sub-menu {
    	position: absolute;
    	margin-top: 20px;
    	display: none;
    }
    
    nav ul li {
    	list-style-type: none;
    	margin: 0;
    	padding: 0;
    	display: inline-block;
    	float: left;
    }
    
    nav ul li a {
    	display: block;
    	color: #757575;
    }
    
    nav ul li ul li {
    	float: none;
    	display: block;
    }
    
    nav ul li a:hover{
    	border-bottom: 5px solid #2b81eb;
    }
    
    nav ul li ul li a {
    	padding: 10px 30px;
    	background: #cccccc;
    }
    nav ul li ul li a:hover{
    	border: none;
    	padding: 10px 30px;
    }

    And here is scripts.js

    jQuery(document).ready(function($){
    
        $( 'nav ul li a' ).hover(
            function(){
                $(this).children('ul.sub-menu').slideDown(200);
            },
            function(){
                $(this).children('ul.sub-menu').slideUp(200);
            }
        );
    });

    Also here is screen from firefox style editor:
    http://postimg.org/image/j24nrb4mt/

    Thread Starter 17Mark

    (@17mark)

    I try reload page and console writing this:

    GET
    https://clients5.google.com/pagead/drt/dn/dn.js [HTTP / 2.0 200 OK 0ms]
    GET
    http: // localhost / wordpress / [HTTP / 1.1 200 OK 0ms]
    GET
    http: //localhost/wordpress/wp-content/themes/okna-dvere-zasklenia/css/font-awesome.min.css [HTTP / 1.1 200 OK 0ms]
    GET
    http: //localhost/wordpress/wp-content/themes/okna-dvere-zasklenia/style.css [HTTP / 1.1 200 OK 0ms]
    GET
    https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js [HTTP / 2.0 200 OK 0ms]
    GET
    http: //localhost/wordpress/wp-includes/js/wp-embed.min.js [HTTP / 1.1 200 OK 0ms]
    Unknown property '-moz-osx-font-smoothing'. Declaration omitted. font-awesome.min.css: 4: 660
    Expected 'none', or URL address filtering function, but found 'progid'. Error parsing value for the 'filter'. Declaration omitted. font-awesome.min.css 4: 1899
    Expected 'none', or URL address filtering function, but found 'progid'. Error parsing value for the 'filter'. Declaration omitted. font-awesome.min.css 4: 2062
    Expected 'none', or URL address filtering function, but found 'progid'. Error parsing value for the 'filter'. Declaration omitted. font-awesome.min.css 4 2228
    Expected 'none', or URL address filtering function, but found 'progid'. Error parsing value for the 'filter'. Declaration omitted. font-awesome.min.css 4 2399
    Expected 'none', or URL address filtering function, but found 'progid'. Error parsing value for the 'filter'. Declaration omitted. font-awesome.min.css 4: 2572
    GET
    http: //localhost/wordpress/wp-content/themes/okna-dvere-zasklenia/scripts.js [HTTP / 1.1 200 OK 0ms]
    Error processing the values ​​for 'padding'. Declaration omitted. style.css: 25: 10
    When reading 'first-child (' token found for function pseudo-class or pseudo-element functions, or vice versa. The rules ignored due to bad selector. Style.css: 70: 18
    Error parsing value for 'background-color'. Declaration omitted. style.css: 79: 0
    GET
    http: //localhost/wordpress/wp-includes/js/wp-emoji-release.min.js [HTTP / 1.1 200 OK 0ms]

    Thread Starter 17Mark

    (@17mark)

    My jQuery code who insert jQuery is top in my first post. Browser console writes nothing but when I writing to console jQuery, she give me only this: function n()

Viewing 9 replies - 1 through 9 (of 9 total)