Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Hans K

    (@hans-k)

    Hi Kharis,

    It works, just like I wanted to!
    Thank you very very much. You’re a great help on this forum!!
    And you sure helped me!

    All the best,
    Hans

    Thread Starter Hans K

    (@hans-k)

    Hi Kharis,

    I uploaded the wrong file the first time. The file I want to use instead of the hamburger menu is: https://www.wiershoeck.nl/cms/wp-content/uploads/2022/03/Menu.gif
    I know how to get it there now, using the CSS code you suggested. It works, but it is too small and I can’t seem to get it much bigger.
    If I change the background image size to “cover” or to a percentage, then it just shows one letter in stead of Menu

    Could you please help me one last time?

    Hans

    Thread Starter Hans K

    (@hans-k)

    Kharis, thank you for the quick reply.
    I had seen this solution on the forum and had tried it before. But unfortunately it didn’t work.
    And now I can’t get it to work either. I must have done something wrong.

    This is what I did in the Custom JavaScript Plugin:

    ;(function($) {
    
      'use strict'
    
      if( $('#masthead-mobile .menu-toggle .sydney-svg-icon').length ) {
        
        var mySVGIcon = '<svg enable-background="new 0 0 512 512" height="24" viewBox="0 0 512 512" width="24" xmlns="http://www.w3.org/2000/svg"><circle cx="256" cy="128" r="128"/><path d="m256 298.667c-105.99.118-191.882 86.01-192 192 0 11.782 9.551 21.333 21.333 21.333h341.333c11.782 0 21.333-9.551 21.333-21.333-.117-105.99-86.009-191.883-191.999-192z"/></svg>';
        
        $('#masthead-mobile .menu-toggle .sydney-svg-icon').html(https://www.wiershoeck.nl/cms/wp-content/uploads/2022/03/Menu-hamburger-icoon.png);
      
      }
    
    })(jQuery);

    Could you please tell me what I did wrong?

    Thanks,
    Hans

    Thread Starter Hans K

    (@hans-k)

    And as you’ll notice, it actually works, but it has unstyled content. That means your .htaccess probably isn’t correct 🙂 What’s in yours?

    Is my .htacces correct?

    I didn’t get a reply yet as far as AllowOverride is concerned. Does it have to be set to All?

    Why don’t I have acces to the admin of my second site?

    Sorry for all the questions, but I’m realy stuck….

    Thread Starter Hans K

    (@hans-k)

    I had my provider forward the domeinname http://www.babesinthegrass.nl to http://www.allacoustic.nl/babesinthegrass
    (By the way, this is the name of a female band…..)
    I didn’t have a .htacces file, so I copied one, it has the following information.

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    I hope it’s about right, but I’m still suck.
    Thanks for helping out!!!

    Thread Starter Hans K

    (@hans-k)

    I did set up a Multisite installation. In the dashboard everything seems fine. But I think I didn’t get the difference between subdomains and subdirectories. I don’t know what settings I must have in my config file. If I change something there, than my main site seems to disappear.
    I’m still struggling…..

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