Done.
As I like the search box so much perhaps I can use the formatting used to generate that for the unread posts? Would that be easy?
Done.
As I like the search box so much perhaps I can use the formatting used to generate that for the unread posts? Would that be easy?
if I don’t get to this tonight I will in the morning – that’s a promise.
Theoretically – the CSS is the same for both already….
But one seems to be a pop up that relies on some widget and the other appears to be in the main container (spSearchSection) or am I missing something?
I reiterate once again that the support on this site is nothing short of excellent.
Conrad
Your Wp theme (wasteland) styles.css file on line 31 defined ‘body’ with a rule of text-align: center; and this is the problem.
Now we may need to address this in our own theme CSS for cases liek this but…
Find the style for .spTopicListSection in your SP theme CSS and add a text-align: left; statement, That should do it.
Indeed it does in fact this would also work for the default theme.
I put it here:
#spMainContainer .spRecentPostSection .spTopicListSection .spListLabel,
#spMainContainer .spRecentPostSection .spTopicListSection .spListPostLink,
#spMainContainer .spSearchSection .spTopicListSection .spListLabel,
#spMainContainer .spSearchSection .spTopicListSection .spListPostLink {
font-size: <?php echo($spListPostLink_spListLabel); ?>;
text-align: left;
yup. we have a ticket open to adjust for the odd wp themes doing this and make our styles explicit.
At upgraded to build 7759 at the weekend and the only remaining casualty after carefully moving any hacks from the core was the list view generated by clicking the unread posts icon again. It now appears like it did on post 7. This is despite the fact that in my theme default the code as shown in Post 20 is still there. The list produced by search is formatted correctly.
I have been able to correct the problem by putting
text-align: left
in my WP theme style.css file but I would rather it was forced by SP if possible, I’m sure that this was fixed prior to the build change.
I noticed a spTextAlign class somewhere when I was looking around but can’t find it now
. I haven’t edited my spListView.php file for my theme so not sure why it stopped working.
Conrad
Did you update the template files or merge the new changes with your old ones? Specifically the spListView.php?
Around line 23 you should see sp_SectionStart(‘tagClass=spTopicListSection spTextLeft’, ‘list’); in the latest version. You might want to check and see if yours has that.
Mine doesn’t have that and that is the issue, I knew I’d seen spTextLeft somewhere. I ended up with
sp_SectionStart(‘tagClass=spTopicListSection spListViewSection spTextLeft’, ‘list’); which looks perfect to me.
I added this into the template as a default class afyter your probem. But not n that line – rather in:
# Start the 'list' section
# ----------------------------------------------------------------------
sp_SectionStart('tagClass=spTopicListSection spTextLeft', 'list');
The section start below.
Yes that works great Andy thanks, I can see that spListView.php for the default theme is set like that now. Bit short on time and that one got through.
Conrad