PDA

View Full Version : Make article preview <div> a link


Kr33p3r
03-05-2010, 04:27 PM
I've tried a couple of ways, to recreate the behavior of article previews on this website: http://www.gamereplays.org/

My first guess was to modify vbcms_content_article_preview

I've tried something like this, but it just makes other objects links, like the titles, etc.

div.article_preview {
text-decoration:none;
line-height:normal;
margin-bottom:0px;
padding-left: 10px;
padding-right: 10px;
background-color: #343434;
}

div.article_preview a {
display: block ;
width: 100%;
height: 100%;
text-decoration: none;
}

div.article_preview a:hover {
text-decoration: none;
background-color: #cccccc;
}

Marco van Herwaarden
03-08-2010, 09:54 AM
If your question is regarding vBAdvanced, then please ask on their support website.

Kr33p3r
03-08-2010, 04:27 PM
This is vb4