Theme Transparency mit 3 Templates veröffentlicht / published

Designvorlagen
Gert
Posts: 2075
Joined: Sun 18. Nov 2012, 14:18

Theme Transparency mit 3 Templates veröffentlicht / published

Post by Gert »

Image Hallo,

ein neues Theme mit 2 responsiven Templates steht zum Download bereit: Transparency

Neu sind vor allem das permanente Siblingsmenü unter der Pfadnavigation, das die benachbarten Seiten anzeigt, und die Schriftart "Poppins", die dem Template ein edles Schriftbild verleiht, vor allem bei den Überschriften,

viel Spass - Gert

=====================================================

Image Hello,

a new theme with 2 responsive templates is available for download: Transparency

The main new features are the permanent siblings menu below the breadcrumb navigation, which displays the neighbor pages, and the font "Poppins", which gives the template an elegant typeface, especially for the headings,

have fun - Gert

=====================================================

Demo and Download: https://www.ge-webdesign.de/cmsimpletem ... _responsiv

Screenshot:

Image
Last edited by Gert on Fri 22. Dec 2023, 16:50, edited 2 times in total.
Gert Ebersbach | CMSimple | Templates - Plugins - Services
Gert
Posts: 2075
Joined: Sun 18. Nov 2012, 14:18

Re: Theme Transparency mit 3 Templates veröffentlicht / published

Post by Gert »

Image Hallo,

ein Galerie Template wurde hinzugefügt und bei den 2 anderen Templates wurde die Typogrfie noch einmal leicht überarbeitet,

viel Spass - Gert

=====================================================

Image Hello,

a gallery template was added and the typography of the 2 other templates was slightly revised,

have fun - Gert

=====================================================

Demo and Download: https://www.ge-webdesign.de/cmsimpletem ... e_Template
Last edited by Gert on Fri 22. Dec 2023, 16:49, edited 1 time in total.
Gert Ebersbach | CMSimple | Templates - Plugins - Services
Doc
Posts: 38
Joined: Fri 25. Dec 2015, 09:20

Re: Theme Transparency mit 3 Templates veröffentlicht / published

Post by Doc »

Hello
I want to use templatefuncs.php function. I created a directory /templates/transparency/templatefuncs/headerimg/ with 2000x400 images.

I modified in the background style sheet: #fff url(images/bgsite.jpg) top center no-repeat; by background: #fff url() top center no-repeat;

I have activity in the template the function:
<?php
if(!$edit && $s >= 0)
{
echo '<img src="'. tf_images('headerimg'). '" class="">';
// echo '<div class="tplge_sitename">Wir haben die passende Haustechnik.</div>';
}
?>

I'm getting the header images fine, but they're not strictly in place of the fixed header with a significant down shift of the page title.

What do you really need to do?
Gert
Posts: 2075
Joined: Sun 18. Nov 2012, 14:18

Re: Theme Transparency mit 3 Templates veröffentlicht / published

Post by Gert »

Hello,

what you have done, inserts an image on top of the right section of the template, and does not change the background of the website. Forget my forgotten outcommented testcode ;)

Try this in template.htm:

Code: Select all

<!-- CONTAINERS -->

<div class="tplge_contentsContainer" style="background: #fff url(<?php echo tf_images('headerimg');?>) no-repeat">
Is that what you want?
Gert Ebersbach | CMSimple | Templates - Plugins - Services
Doc
Posts: 38
Joined: Fri 25. Dec 2015, 09:20

Re: Theme Transparency mit 3 Templates veröffentlicht / published

Post by Doc »

The result is not satisfactory.
I think it should have the following attributes:
<div class="tplge_contentsContainer" style="background: #fff url(<?php echo tf_images('headerimg'); ?>) no-repeat; style="max-width: 2000px; padding: 0; margin: 0 auto;">
But it doesn't work.
Gert
Posts: 2075
Joined: Sun 18. Nov 2012, 14:18

Re: Theme Transparency mit 3 Templates veröffentlicht / published

Post by Gert »

This CAN NOT WORK - 2 x style= ... (nested).

You should define only the background in the template.htm (because you want to have alternating background images), and the other CSS in the stylesheet.css, if necessary with !important, so you can make it responsive:

Code: Select all

<div class="tplge_contentsContainer" style="background: #fff url(<?php echo tf_images('headerimg');?>) center top no-repeat;">
https://www.ge-webdesign.de/demotpl/?Te ... ne_Verlauf

2 images: Clouds and waves (2000 x 400 px) are alternating by page reload.

For reponsive layout you have to adapt background-size for tplge_contentsContainer and height or min-height for tplge_sitename. All in all it is not so easy to change basic design and layout in a responsive template,

Gert
Last edited by Gert on Thu 16. Mar 2023, 08:37, edited 1 time in total.
Gert Ebersbach | CMSimple | Templates - Plugins - Services
Doc
Posts: 38
Joined: Fri 25. Dec 2015, 09:20

Re: Theme Transparency mit 3 Templates veröffentlicht / published

Post by Doc »

It's all good. Thanks.
Doc
Posts: 38
Joined: Fri 25. Dec 2015, 09:20

Re: Theme Transparency mit 3 Templates veröffentlicht / published

Post by Doc »

Hello
I come back to you for a display problem. I finalize my project with different headers and I realize when browsing the pages that sometimes all the elements are not loaded, the F5 key allows me to reload (Chrome, Firefox).
The unloaded elements seem to come from the code in the template:
<div class="tplge_contentsContainer" style="background: #fff url(<?php echo tf_images('headerimg', random');?>) center top no-repeat;">
Because if I put only <div class="tplge_contentsContainer"> it is the result of what is not displayed.
Where can this problem come from?
For my tests, I cleared the cache of the browser.
Gert
Posts: 2075
Joined: Sun 18. Nov 2012, 14:18

Re: Theme Transparency mit 3 Templates veröffentlicht / published

Post by Gert »

Doc wrote: Wed 15. Mar 2023, 14:50 <?php echo tf_images('headerimg', random');?>
Try with a single quote also before random:

Code: Select all

<?php echo tf_images('headerimg', 'random');?>
Could you upload it and give us a link? I do not like to fish in milk ;)

Gert
Gert Ebersbach | CMSimple | Templates - Plugins - Services
Doc
Posts: 38
Joined: Fri 25. Dec 2015, 09:20

Re: Theme Transparency mit 3 Templates veröffentlicht / published

Post by Doc »

I had a .psd file which was in /templates/transparency/templatefuncs/headerimg/
Once removed, it works!
Post Reply