tonymusante Posted February 9, 2014 Share Posted February 9, 2014 Hi, i have created a new hook for searchmodule in homecontent to place the search module beetween slider and home featured. Now i would like to set a bigger font size for it but only for that module, how can i do it? I triyed to change font size in global.css but it modify all the template font and that's not good for the template. How can i modify just one module font size? prestashop version 1.5.6 default template Link to comment Share on other sites More sharing options...
El Patron Posted February 9, 2014 Share Posted February 9, 2014 you would need to include .css for your module, used only by your module... then you need to add hook to header to load your css to be used by your module at render time. Link to comment Share on other sites More sharing options...
vekia Posted February 9, 2014 Share Posted February 9, 2014 if your module is based on default search module you can define styles for #search_block_top something like: #search_block_top{ font-size:20px!important; } Link to comment Share on other sites More sharing options...
tonymusante Posted February 10, 2014 Author Share Posted February 10, 2014 hi, thank you for the yours replies, i triyed to place #search_block_top{font-size:20px!important;} but nothing happen maybe i place it in the wrong file I triyed modulesearch.css and global.css as well. Which is the file to modify? Link to comment Share on other sites More sharing options...
vekia Posted February 10, 2014 Share Posted February 10, 2014 hi, thank you for the yours replies, i triyed to place #search_block_top{ font-size:20px!important; } but nothing happen maybe i place it in the wrong file I triyed modulesearch.css and global.css as well. Which is the file to modify? your theme is based on default one? everything depends on it it will be much easier if your will share url to your shop, if it is possible of course Link to comment Share on other sites More sharing options...
tonymusante Posted February 10, 2014 Author Share Posted February 10, 2014 wow that's a really speedy help thank you this forum is awesome yes the project is based on the dafault theme here is the link http://tosal.web44.net/ink/index.php Link to comment Share on other sites More sharing options...
vekia Posted February 10, 2014 Share Posted February 10, 2014 instead of: #search_block_top{ font-size:20px!important; } use: #search_block_left{ font-size:20px!important; } Link to comment Share on other sites More sharing options...
tonymusante Posted February 10, 2014 Author Share Posted February 10, 2014 yeahhh it run now, solved thank you Link to comment Share on other sites More sharing options...
vekia Posted February 10, 2014 Share Posted February 10, 2014 you're welcome glad to hear that it works as you expected im going to mark this thread as solved with regards, Milos Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now