PayPal Donation Extension

How to Highlight the "Donate" link - PayPal Donation Extension

How to Highlight the "Donate" link

by ericnyamu1 » Mon Jul 02, 2018 10:19 am

The paypal extension is nice but if the Donate link thats highlighted inthe picture below could be changed to an eye catching colour like red it would be even nicer.Anybody know how to do it?
paypaldonation.png
ericnyamu1
Registered User
Posts: 10
Joined: Tue Jun 12, 2018 7:23 am

Re: How to Highlight the "Donate" link

by Skouat » Mon Jul 02, 2018 1:41 pm

Hi,

You can edit the file styles/prosilver/template/event/overall_header_navigation_prepend.html from the extension folder to change the style.
Skouat
Code Contributor
Posts: 1059
Joined: Mon Mar 10, 2008 5:30 pm
Location: France

Re: How to Highlight the "Donate" link

by ericnyamu1 » Mon Jul 02, 2018 5:28 pm

Skouat wrote:Hi,

You can edit the file styles/prosilver/template/event/overall_header_navigation_prepend.html from the extension folder to change the style.
can this (overall_header_navigation_prepend.html) also change the colour of the registration link that guest see?
ericnyamu1
Registered User
Posts: 10
Joined: Tue Jun 12, 2018 7:23 am

Re: How to Highlight the "Donate" link

by Skouat » Mon Jul 02, 2018 7:22 pm

No, this is only for the link that you mention.
Skouat
Code Contributor
Posts: 1059
Joined: Mon Mar 10, 2008 5:30 pm
Location: France

Re: How to Highlight the "Donate" link

by ericnyamu1 » Wed Jul 11, 2018 3:28 pm

Skouat wrote:No, this is only for the link that you mention.
hey the file i want to edit (styles/prosilver/template/event/overall_header_navigation_prepend.html_) to highlight the "Donate" word has the below code. so where do i change to make the "donate" word to appear in red

Code: Select all

{% if S_PPDE_LINK_ENABLED %}
	<li>
		<a href="{{ U_PPDE_DONATE }}" rel="help" title="{{ lang('PPDE_HEADER_LINK_TITLE') }}" role="menuitem">
			<i class="icon fa-paypal fa-fw" aria-hidden="true"></i><span>{{ lang('PPDE_HEADER_LINK_TITLE') }}</span>
		</a>
	</li>
{% endif %}
{% if S_PPDE_LINK_DONORLIST_ENABLED %}
	<li>
		<a href="{{ U_PPDE_DONORLIST }}" rel="help" title="{{ lang('PPDE_HEADER_DONORLIST_LINK_TITLE') }}" role="menuitem">
			<i class="icon fa-users fa-fw" aria-hidden="true"></i><span>{{ lang('PPDE_HEADER_DONORLIST_LINK_TITLE') }}</span>
		</a>
	</li>
{% endif %}
ericnyamu1
Registered User
Posts: 10
Joined: Tue Jun 12, 2018 7:23 am

Re: How to Highlight the "Donate" link

by Skouat » Wed Jul 11, 2018 5:16 pm

Skouat
Code Contributor
Posts: 1059
Joined: Mon Mar 10, 2008 5:30 pm
Location: France