An original theme for GetSimple with the following features:
Optional, Customisable Page Banners
'Sticky' Header and Footer
Responsive down to 640px
Javascript Mobile Hamburger Menu
Fontawesome Icons and Google Fonts
Valid html and css
Banners
The default banner is the image across the page top below the menu. If you don't want the banner at all go to the Theme tab, choose your template from the grey drop-downs and click Edit. Where you see the following tag:
Code:
<!--Include the banner -->
<?php include('banner.inc.php'); ?>
either delete it or comment out the include line so it looks like this:
Code:
<?php /*include('banner.inc.php');*/ ?>
The banner need not be an image. It can be any html, but we are going to assume it is an image for these directions.
Setting a Default Banner
To over-ride the default image make a component, name it banner and write in it whatever html you want to see there. For instance if your new banner is to be an image named banner01.jpg and you have uploaded it through the Files tab to the uploads directory you would write in your component:
The image doesn't need to be any particular size or proportion.
Setting Banners for Individual Pages
Banners are set for individual pages in the same way, but the component needs to be named banner-slug where slug is the end of the url for that page. For instance to set a special bannner just for the Homepage you would call the component banner-index
(2016-11-04, 08:59:25)kazu2015 Wrote: Huh, ... I tried but my ability is not enough.
7php files are in the theme.
complicated..........
Yes, okay.
There are three page templates: sidebar left, sidebar right and no sidebar.
Then the php includes so that each template has the same head section & menu and footer, and one more so you can easily leave out the banner.
The seventh is functions.php.
It isn't simple at first look but I think it is the best way to organise the files. Each line is written once only, and if you want to alter a line you only do it in one place.
This is left sidebar. I wanted to talk about Spectral theme!
Can you then delete all the non-relevant posts in this topic (the ones about Spectral). Also, can you group your questions in one post instead of multiple messages (this is not chat).
Btw. the template (php) files are mostly html. You need to have a good understanding of html and css, to properly edit theme files, php knowledge isn't required usually.
I need to change the main background-color on the sites of the theme Seascape2.
How can it be done? There should be a css file involved? Which is it? Can it be modified without risk?
horei
If you make a backup then you can edit without risk. The main css is assets/css/style.css
I don't think there is any css declaration of main background colour in the theme, I think it just defaults to white.
So you would add somewhere