Customizing SMF > Graphics and Templates
vertical-align problem with the bottom posticons in 2.0 Core theme
(1/1)
rickmastfan67:
SMF 2.0.2 - "Core" theme
Ok, it's quite simple. I want to "vertical-align=middle" the "New Posts" & "No New Posts" Text beside their corresponding images in the *core* theme. However, every attempt I'd done in the CSS or in the PHP file doesn't seem to want to work. I can get "vertical-align=bottom" for the text to work, but that's about it. Whenever I add the "vertical-align=middle" code, it barely moves the text down from the top location (might move only a pixel, maybe 2).
Surely it shouldn't be this hard to get that text to properly "vertical-align=middle" beside those thumbnail images.
If anybody has any suggestions to get that text to "vertical-align=middle" properly beside the images, I would greatly appreciate it as it's been driving me nuts.
LFrancke:
This may not be the best way but you can give it a try ...
In your index.css file at line #1496 you have the .posticons section.
Change the width to something like 33% and then add a margin-left: 300px; statement.
This will move the image icons and the Mark All Messages Read tab to the near center. Might not be exactly what you want, but it is a start. Also not sure if that will affect anything else as I only took a look at the Home Page. You might find icons moved about on other pages.
edit: I suppose you could set width to 33%, margin-left:400px and margin-top:10px.
edit: well, hunted around and did not see where any other icons where affected.
rickmastfan67:
--- Quote from: LFrancke on May 16, 2012, 09:05:55 PM ---Change the width to something like 33% and then add a margin-left: 300px; statement.
edit: I suppose you could use set width to 33%, margin-left:400px and margin-top:10px.
--- End quote ---
This centers the entire section on the front page, which isn't what I want to do unfortunately. I just want to vertical-align the text beside those icons. Nothing more.
LFrancke:
woops ... sorry, my misunderstanding. :)
Navigation
[0] Message Index
Go to full version