Ok what im trying to do is give those headers (actions, profile photo, general info and so on) their own icons at the left. How do I do this?
Any help is appreciated!
Ok what im trying to do is give those headers (actions, profile photo, general info and so on) their own icons at the left. How do I do this? |
It can be done as dolphin has a feature that will allow it, but it's time consuming. https://www.deanbassett.com |
There's a way to do it by targeting individual page blocks css. It's not really a clean way, because if you ever do anything that changes the page blocks ID in the database, the css will no longer be valid. Ex:
<div id="page_block_10" class="page_block_container bx-def-margin-sec-leftright"> Every page block will be contained within a div with a unique id. The easiest way to find this, is with Firebug. Once you have the blocks ID, you can target individual elements within that div, and only that div, like below. #page_block_10 .disignBoxFirst .boxFirstHeader { This will work, but if you do anything that can change the id of the page block in the database, like remove it, then add it back, you'll also have to update the css. Uninstalling, then reinstalling a module will change all the page block ids associated with that module. This method is really only suitable for the final version of your site that you don't plan to change much. My opinions expressed on this site, in no way represent those of Boonex or Boonex employees. |
Wow very nice. This will definately work. You two are really great. You helped me so much with alot of issues. |
A CSS trick: #page_block_10 .disignBoxFirst div.boxFirstHeader:before { My opinions expressed on this site, in no way represent those of Boonex or Boonex employees. |
Wow thank you so much houston, it worked great. I will return the favor by sharing my PhpBB3 integration with you people once im done here. |
One more suggestion. Most of this css will be added to your templates common.css. I'd highly recommend you thoroughly comment what you add and be specific about what it targets. Some day you'll be glad you did. EX: /* Begin add icon to home page login block */ #page_block_10 .disignBoxFirst div.boxFirstHeader:before {
My opinions expressed on this site, in no way represent those of Boonex or Boonex employees. |
That would be very kind of you Rolf. Will it be for free? Sorry, but had to ask! Wow thank you so much houston, it worked great. I will return the favor by sharing my PhpBB3 integration with you people once im done here.
Ultra Newb reporting for duty. |
Yes it will be, dont worry ;) |