Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello
I need to insert an additional wrapper within the link tag,
to clear an CSS issue related with the sIFR Module.
Like: Which file and where I need to modify, to insert an wrapper around the Text (within the Link). Thanks
A simple "p" tag would do the job.
Comments
Comment #1
stefan81 CreditAttribution: stefan81 commentedSorry example code gone. Again:
<li><a><span>TEXT</span></a></li>
Comment #2
nicholas.alipaz CreditAttribution: nicholas.alipaz commentedThere is not really a graceful way to do this from what I can tell. I did this:
Copy
<root>/sites/all/modules/menu_block/menu-block-wrapper.tpl.php
to your themeCopy
<root>/sites/all/themes/yourtheme/menu-block-wrapper.tpl.php
to<root>/sites/all/themes/yourtheme/menu-block-wrapper-yourmenuname.tpl.php
Then alter your file
<root>/sites/all/themes/yourtheme/menu-block-wrapper-yourmenuname.tpl.php
to contain:BTW, this is not critical since it doesn't break normal functionality of the module or cause issues with the module in any way.
Comment #3
nicholas.alipaz CreditAttribution: nicholas.alipaz commentedBTW, this would be a great addition to the module as well.
Comment #4
chrisjlee CreditAttribution: chrisjlee commentedIs there currently a better way of doing this ?
I'm in need of doing this as well.
Comment #5
chrisjlee CreditAttribution: chrisjlee commentedComment #6
JohnAlbinFrom the README.txt: