rigots
Forum Replies Created
-
AuthorPosts
-
Opps, forgot attachment.
Here it is.Hi Kor Chung,
I am using the directory starter theme and Supreme child theme.Attached is a sample screen shot of what I get when I create a new ‘About’ page.
As you can see be default is has the “About” title with the background-image: url(‘http://www.mysite.com/wp-content/themes/supreme-directory/images/featured.jpg’).I want an empty body. So, I basically want to remove
#ds-container > div.sd-container > div > article > header > div
which is the .featured-area for that ‘About’ page.I just realized that this is a unique page to me that will not be over written by any theme or child theme update, so I can jut go directly go to the file and remove that section manually.
But if you know how these would be removed with CSS that would be great to know to have the option.
Thanks,
RigoHi I had the same issue.
Here is how to remove it..sd.home .gd-search-field-search {
display: none;
}Rigo
February 23, 2017 at 8:29 pm in reply to: How to remove the white section at the bottom of Home Page? #363471Hi Kor Chung,
That worked good but I have a side effect on my mobile. Now there is white area under the footer on my mobile only. The desktop works fine.I had previously used CSS below to remove the ‘popular category’ items from my home page.
.featured-area .geodir-cat-list {
display: none;
}So now that I remove the white space with the CSS you provided above then I get a white space under the footer’s home page on my mobile device. It looks as though the mobile device needs more content to fill the whole page some how, the content on the home page does not expand the whole mobile screen when I remove both the ‘popular category’ and the white space above footer. Any advice?
Thanks.
February 23, 2017 at 5:34 pm in reply to: How to remove the white section at the bottom of Home Page? #363423Hi Kor Chung,
The problem is not that the CSS is not working, the problem is that I it also removes the detail page content and I want that content not to be removed.I also tried it with the ‘!important’ as you suggested and now even the search result content has been removed, I don’t want to remove other page content. I only want to remove the white bar section below the popular categories and right above the footer on the front page. I think it needs another CSS to remove that section only. Do you know what that should be?
Thanks,
Thank you.
Ok, Since I am using the Supreme child, I will be doing my CSS changes in Design -> scripts.
And Yes, I noticed the that the word press customizer allows you to put ‘Additional CSS’. So if I decide to use the ‘Additional CSS’ section in wordpress for my CSS changes would that be over written by theme or child theme updates?
Thanks,
Thank you that worked.
Yes, next time I will mindful to create a new issue post when changing subjects.Thanks,
Hi Paolo,
When I go to my the wordpress “All Pages” and then select to edit my from Home Page. There is no option to add a custom field.I also created a new page with ‘Pages->Add New’ but that page does not have the option to add a new custom field either.
So, do I only get the option to add custom filed when I create a new page with Beaver Builder Lite? I will explore that next.
Thank you.
Thank you Giri and Paolo.
I will explore the hooks later. For now I will just use the later suggestion by Paolo to as add subtitle, that is what I am looking for.Thanks,
Hi,
I am using directory starter theme and supreme child theme.
And I misspoke about the description shown on the footer. It actually shows at the bottom of the page, just above the footer on home page.Thanks.
Now,
I see that the description automatically goes to the button of the footer of that page. That is now where I want it. I need to add a new HTML paragraph under the title and it looks like this is where I will need to add a template or something like that.Thanks,
Hi,
Yes, I was able to change the Title from the “Pages” section. I put a description on the box below the title. I was hopping that would show right below the Title, but it does not show anywhere on my site.So, I guess, I still need to figure out how to type some text below the home page Main Title page.
Thanks,
RigoHi,
OK, I see that that code snippets is just for new functions which can also take advantage of hooks.So, it looks like what I want is to customize a template. Is there a guide on how to customize a templete?
I will take your offer on the example.
I want to change the text in my supreme child. Instead of saying “GD Home page”. I want to say something else example: “This is my Home page” and right below that I want o have be able to have a new paragraph with smaller text in one line that describes what my home page is about. Example “This site is for all bay area bla, bla, bla”.
How would yo do that?
Thank you.
Hi Paolo,
Sorry, I am just learning here and experimenting. I am a C and c++ programmer but I have not done much web programming before. I know the basics for HTML and CSS, but I am set for learning it all now. I just need to experience some and I am now taking some online classes.Here is how I was able to get back into my admin console and remove/deactivate the wrong code snippets.
I activated wordpress in safe mode by putting the following code inside the wordpress wp-config.php file:
define(‘CODE_SNIPPETS_SAFE_MODE’, true);Put that code just above the line below, in the wordpress wp-config.php file
/* That’s all, stop editing! Happy blogging. */Once you put that code and save the save, you can log back into your admin console and remove the undesired code snippet. Remember to remove the code once you are don removing the snippet.
I did not realize that the code snippet was for PHP only.
I know that in regular HTML5 file I can just modify the HTML file as I want, but in a theme like yours, I am confused on where to make such customization. I know I am supposed to modify the files directly.
So, is code snippets the way to go even for HTML code modifications such as changing the text in Home page?
If so, I will just figure the syntax for including HTML code inside a PHP file.
Thank you.
Rigo -
AuthorPosts