Help with Supreme modifications

This topic contains 24 replies, has 3 voices, and was last updated by  Guust 7 years, 7 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #268195

    Brent Wallace
    Expired Member
    Post count: 34

    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!
    Brent

    http://findlocalgrowers.com/

    P.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?

    #268235

    Guust
    Moderator
    Post count: 29970

    1. 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.

    #268511

    Brent Wallace
    Expired Member
    Post count: 34

    Hi 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 Oregon

    #268747

    Paolo
    Site Admin
    Post count: 31206

    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.

    3) this is really beyond support, it will require a good deal of custom code.

    Thanks

    #268783

    Brent Wallace
    Expired Member
    Post count: 34

    Hi 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

    #268799

    Brent Wallace
    Expired Member
    Post count: 34

    Screenshot of home page.

    #268801

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    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

    #268802

    Brent Wallace
    Expired Member
    Post count: 34

    there is no image selected.

    #268806

    Brent Wallace
    Expired Member
    Post count: 34

    I have used the supplied GD Home page and only changed the Title and the Featured image

    #268835

    Paolo
    Site Admin
    Post count: 31206

    I 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

    #268842

    Brent Wallace
    Expired Member
    Post count: 34

    🙂

    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.

    #268844

    Brent Wallace
    Expired Member
    Post count: 34

    screenshot 4

    #268846

    Brent Wallace
    Expired Member
    Post count: 34

    screenshot 5

    #268854

    Brent Wallace
    Expired Member
    Post count: 34

    Where do I modify to add the <h2> here ==> see image

    #268856

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    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

Viewing 15 posts - 1 through 15 (of 25 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket