Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product

MinusBaseline Theme removing responsive menu when embed comments

This discussion is related to the MinusBaseline addon.

Open your file /themes/minusbaseline/class.minusbaselinethemehooks.php

Replace this: $sender->addAsset('Content', anchor('n', url('#'), 'Hamburger'), 'Hamburger');

For this:

$dominio= $_SERVER['HTTP_HOST'];
$url = "http://" . $dominio. $_SERVER['REQUEST_URI'];
if(strpos( $url, "/discussion/embed" ) === false) {
$sender->addAsset('Content', anchor('n', url('#'), 'Hamburger'), 'Hamburger');

Sign In or Register to comment.