Help with Video Posts

Posted in: Newspaper
Post count: 36

Hi,

Please take a look at this post(http://www.newsmug.in/special-page/photo-video-gallery/inspirational-video).I have used Post style 11 template. However I dont want the Ads to be displayed in mobile specifically for this template.How would I do that

Also please take a look at this post(http://www.newsmug.in/sports/higlights).I have used Post style 10 template.I want the title to be displayed above the Video right now the title is displayed below the video.Please help with this

Thanks!

Post count: 22421

Hi,
In order to remove the ad on mobile phone you can add this custom css in the theme panel:

@media (max-width: 1018px) and (min-width: 768px){
.td-a-rec-id-post_style_11 {
    display:none;}}

For the second part you need to edit the core files of the theme. This requires a bit of code knowledge.
You cannot simply move the title from the bottom to the top.
You can copy the header from here: http://screencast.com/t/iKprjF3j
And add it to single_template_10.php You need to change the class to the title in order to target it with CSS:
http://screencast.com/t/L2FP8KZLth
Then you will have 2 post titles. One above and one below the video. Now you can use css to position the title above and hide the one below:

.td-post-title_custom{
  margin-left: auto;
  margin-right: auto;
  width: 400px;
}
.single_template_10 .td-post-title{
display:none;
} 

This will require a bit more tweaking, but this should set you on the right path.

Thanks.

Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.