Help with Supreme modifications
This topic contains 24 replies, has 3 voices, and was last updated by Guust 8 years, 2 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
September 18, 2016 at 3:33 am #268195
Hi, thank you for the great plugin.
I tried to make a few modifications to the header of the new site I’m setting up (there’s no <h2> on the site description). After adding header.php page to the Supreme theme I got no results. Does this not act like a regular child theme? How and where do I make modifications for the footer.php page and other file without losing my changes?
I’m not quite following how all of the pieces work together.
Thank in advance for your reply!
BrentP.S. Is there a way to import a list of basic information to auto fill a page for someone to claim? (name, address, phone, etc.) (.csv file?) Maybe import to a database?
Also, how do I modify the form that the new user is claiming as their page? Can I add special fields? HTML? Another shortcode for a different plugin?
September 18, 2016 at 8:57 am #2682351. Supreme gets it files from Directory starter and the header.php file there has h2 for the tagline (site-description). You can see in index.php of Supreme where it gets the header and the footer.
But that is overwritten in some templates, so we would need to know what page you are looking to change.2. Have a look at https://wpgeodirectory.com/docs/core-export for importing listings.
3. I am not sure how to modify the claim form, this might give a clue: https://wpgeodirectory.com/customise-send-enquiry-form/
I’ll get the others to have a look at your questions too after the weekend.
September 19, 2016 at 3:13 am #268511Hi Guust, thanks again for the help.
1) So I did go into index.php and added the <h2> to the site-description and it did NOT show up on the site. Please advise…
2) I haven’t had time yet to look at details here, but I will.
3) Will wait for your answer.
Thanks again bud!
Brent in OregonSeptember 19, 2016 at 3:30 pm #2687471) the site description will be visible, only if you don’t have a logo and you add this custom css:
.sd .site-header .site-description { display: block; }
To modify header.php or footer.php you simply copy them from Directory Starter into the Supreme directory and edit them.
3) this is really beyond support, it will require a good deal of custom code.
Thanks
September 19, 2016 at 4:10 pm #268783Hi Guust.
I have attached a screenshot of my home page where there is NO h2!
I have again copied over the header.php file from Directory Starter. It obviously is not the same file for the HOME PAGE. Please look at the source code.This is very frustrating! Where are the correct files to modify?
Brent
September 19, 2016 at 4:14 pm #268799Screenshot of home page.
September 19, 2016 at 4:17 pm #268801Hi,
did you read my previous reply?
You have a logo in the header. 99.9% of themes, when you have a logo, don’t have a h2 with site description. It is hidden. Given that on supreme there is no real estate to fit it and it would break your responsive layout, we hide it in all cases.
1) the site description will be visible, only if you don’t have a logo and you add this custom css:
.sd .site-header .site-description { display: block; }
To modify header.php or footer.php you simply copy them from Directory Starter into the Supreme directory and edit them.
Thanks
September 19, 2016 at 4:21 pm #268802there is no image selected.
September 19, 2016 at 4:27 pm #268806I have used the supplied GD Home page and only changed the Title and the Featured image
September 19, 2016 at 4:38 pm #268835I know, but the theme installs it’s logo by default. If you remove the logo image, you will see that the h2 is there, but hidden with css.
Thanks
September 19, 2016 at 4:49 pm #268842🙂
I understand what you’re saying. So how do I remove the image that was automatically added?
I just renamed it, added the CSS to display h2 and this is what I get.September 19, 2016 at 4:50 pm #268844screenshot 4
September 19, 2016 at 4:50 pm #268846screenshot 5
September 19, 2016 at 4:55 pm #268854Where do I modify to add the <h2> here ==> see image
September 19, 2016 at 4:57 pm #268856Hi,
you shouldn’t have renamed the image, in Appearance >> Customizer >> Header >> Logo you have an option to remove the image.
Now the system thinks that there is a logo image, but can’t find it because you renamed it.
Thanks
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket