Code: Select all
<! IF RESPONSIVE -->
do this
<!-- ENDIF -->
Code: Select all
$rootref = &$context->get_root_ref();
Code: Select all
$rootref = $context->get_root_ref();
&
TheTheriddler1 wrote:Should beCode: Select all
$rootref = &$context->get_root_ref();
Code: Select all
$rootref = $context->get_root_ref();
&
is supposed to be there. get_root_ref()
returns a reference to the template data's root node allowing you to modify it. See also its declaration: public function &get_root_ref()
. If it wasn't a reference, you'd be modifying a copy and the template data would be unchanged.$rootref
isn't written to, only read from, but it's still a good idea to leave the &
for clarity.Code: Select all
#menu {
margin: auto;
height: 30px;
max-width: 1180px;
min-width: 625px;
}
Code: Select all
#menu {
height: 30px;
max-width: auto;
min-width: auto;
}
Code: Select all
@media (max-width: 800px) {
#menu {
display: none;
}
}
stylesheet.css
-- but if you guys use prosilver, I guess you can put it in the responsive.css
file.If you have too many links, then it takes a while for it to start moving a button up or down. Just keep doing until you see it move.thecaretaker1 wrote:The up and down buttons in the acp for the parent buttons doesn't do anything. Is there another way I can switch the order of the parent buttons without deleting all the sub-buttons and re-entering all the links?