Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Edit Default Theme

miklantis
Jan 27, 2016 02:07PM PST
Hello,

i want to edit default Theme but i don't know where ist the Template File ist.

Here is the website : http://www.kiebitz.net/videos/
I want that Headline come after Video Player and add Vimeo Description after that.

How can i do this and after all which file should i edit for this change?

Thank you
Kadir
Elisabeth T.  STAFF
Jan 27, 2016 03:52PM PST

Hi Kadir,


Thanks for getting in touch! We strongly suggest that you create and activate your own custom theme 1 to preserve your customizations.


> I want that Headline come after Video Player and add Vimeo Description after that. How can i do this and after all which file should i edit for this change?


You will want to create a template 2 in your theme at gallery/players/normal/ajax.html.twig. The contents of your new template might look something like this:


<div class="tubepress-normal-player js-tubepress-player-normal" style="width: {% if responsiveEmbeds %}100%{% else %}{{ embeddedWidthPx }}px{% endif %}">
{% block normalPlayerEmbeddedSource %}
{{ embeddedSource|raw }}
{% endblock %}
{% block normalPlayerTitle %}
<div class="tubepress-big-title">
{{- mediaItem.title -}}
</div>
{% endblock %}
<p>
{{ mediaItem.description }}
</p>
</div>

Hopefully that gets you started in the right direction? Please let us know. Thanks!


1 http://support.tubepress.com/customer/portal/articles/2046757-introduction


2 http://support.tubepress.com/customer/en/portal/articles/2046709-templates

This question has received the maximum number of answers.

c65861bf7a72e1a8878bdf73cabbbdbf@tubepress.desk-mail.com
http://assets1.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete