The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

last post css box

View previous topic View next topic Go down

In progress last post css box

Post by S-t-e-v-e- on November 29th 2013, 9:55 am

i want an box around the last post on my forum index page i thought dd.lastpost was for this but this css code change thing i dont want example the Last Posts title and does the same with topic in forum also... i know this is possible on forumotion becasue i have seen it on another forum


Code:
dd.lastpost {
            background-color: rgb(220, 234, 245);
            border-bottom-color: rgb(195, 224, 241);
            border-bottom-style: solid;
            border-bottom-width: 1px;
            border-left-color: rgb(102, 102, 102);
            border-left-style: none;
            border-left-width: 0px;
            border-right-color: rgb(195, 224, 241);
            border-right-style: solid;
            border-right-width: 1px;
            border-top-color: rgb(255, 255, 255);
            color: rgb(102, 102, 102);
}

S-t-e-v-e-
Forumember

Posts : 450
Reputation : 6
Language : English

Back to top Go down

In progress Re: last post css box

Post by Ange Tuteur on November 29th 2013, 1:46 pm

Hello S-t-e-v-e-,

You just need to add the parent before .lastposts selector.

Exemple:
Code:
.row .lastpost
That will keep it to only the forum rows.

I assuming that other forum would be ForumActif.

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2681
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: last post css box

Post by S-t-e-v-e- on November 29th 2013, 3:14 pm

yea i saw it on there Smile 

nearly there the box's are still showing up on the forums list of topic i only want it on the index page Smile

S-t-e-v-e-
Forumember

Posts : 450
Reputation : 6
Language : English

Back to top Go down

In progress Re: last post css box

Post by Ange Tuteur on November 29th 2013, 3:19 pm

Ah yes, I had forgotten.

This should be the correct selector set:
Code:
.forabg .row .lastpost
Should keep it only to Category forums, and subforum category forums.

I think this one worked too:
Code:
.topiclist.forums .lastpost

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2681
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: last post css box

Post by S-t-e-v-e- on November 29th 2013, 5:03 pm

thanks mate :)job an goodone Smile


edit: just notice another problem which i cant fix


some forum are larger the other so i wanted to set the height

i did this

            height: 99% !important; 

and nothing heppen blackeye

S-t-e-v-e-
Forumember

Posts : 450
Reputation : 6
Language : English

Back to top Go down

In progress Re: last post css box

Post by Sir Chivas™ on November 29th 2013, 5:29 pm

Hi,

Can you provided your forum URL? You can PM it to me, that's if you wish.

Thank you.

Sir Chivas™
Support Moderator
Support Moderator

Male Posts : 6756
Reputation : 428
Language : English, Spanish, and French
Location : || CSS || HTML || Graphics Designs || Support ||

Back to top Go down

In progress Re: last post css box

Post by Ange Tuteur on November 29th 2013, 5:39 pm

Percentages will take little effect on that element, you instead have to use pixels.

Code:
.topiclist.forums .lastpost{
height:100px;
}

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2681
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum