Page 1 of 2

Theme Transparency mit 3 Templates veröffentlicht / published

Posted: Thu 16. Feb 2023, 15:44
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

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

Posted: Wed 22. Feb 2023, 09:00
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

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

Posted: Mon 13. Mar 2023, 13:28
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?

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

Posted: Mon 13. Mar 2023, 15:16
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?

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

Posted: Mon 13. Mar 2023, 19:29
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.

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

Posted: Mon 13. Mar 2023, 20:14
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

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

Posted: Tue 14. Mar 2023, 08:04
by Doc
It's all good. Thanks.

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

Posted: Wed 15. Mar 2023, 14:50
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.

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

Posted: Wed 15. Mar 2023, 16:01
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

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

Posted: Wed 15. Mar 2023, 16:04
by Doc
I had a .psd file which was in /templates/transparency/templatefuncs/headerimg/
Once removed, it works!