kotkotan Posted March 31, 2014 Share Posted March 31, 2014 I need to change title style for default module blocktags. I know i should have own style class for title in blocktags.tpl and style in global.css But i can't see any result. For example i created new class in global.css it is called #mytags it has some styles When i'll try to put this class to blocktags.tpl like this: <div id="tags_block_left" class="mytags"> <h4 class="mytags">{l s='Tags' mod='blocktags'}</h4> <p class="block_content"> nothing happend. Who knowd how correctly insert own class to block title in tpl file and global.css? Link to comment Share on other sites More sharing options...
NemoPS Posted March 31, 2014 Share Posted March 31, 2014 If you created #mytags, then it's an ID, not a class, use .mytags Link to comment Share on other sites More sharing options...
kotkotan Posted March 31, 2014 Author Share Posted March 31, 2014 If you created #mytags, then it's an ID, not a class, use .mytags have changed to .mytags in global.css and in blocktags.tpl to <div id="tags_block_left" class="mytags"> <h4 class="mytags">{l s='Tags' mod='blocktags'}</h4> <p class="block_content"> but nothing Link to comment Share on other sites More sharing options...
NemoPS Posted March 31, 2014 Share Posted March 31, 2014 Can you share the site's url? Also, can you copy your custom styles here? Link to comment Share on other sites More sharing options...
kotkotan Posted March 31, 2014 Author Share Posted March 31, 2014 Can you share the site's url? Also, can you copy your custom styles here? Yes site here block Tags (russian - "Выбирайте" left block) Link to comment Share on other sites More sharing options...
NemoPS Posted March 31, 2014 Share Posted March 31, 2014 Where did you change the tpl file? Your modifications are not taking place: <div class="block tags_block" id="tags_block_left"> Link to comment Share on other sites More sharing options...
kotkotan Posted March 31, 2014 Author Share Posted March 31, 2014 Where did you change the tpl file? Your modifications are not taking place: <div class="block tags_block" id="tags_block_left"> have try to change to <div class="mytags" id="tags_block_left"> and to <div class="block tags_block" id="mytags"> nothing Link to comment Share on other sites More sharing options...
NemoPS Posted March 31, 2014 Share Posted March 31, 2014 On which file exactly? modules folder or theme folder /modules? 1 Link to comment Share on other sites More sharing options...
kotkotan Posted March 31, 2014 Author Share Posted March 31, 2014 (edited) On which file exactly? modules folder or theme folder /modules? You are currently right! I'm changing another blocktags.tpl Correct file in themes/MyTheme/modules/blocktags/ THANKS Edited March 31, 2014 by kotkotan (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts