Header coloring, comment feature, buttons
-
Hello! Thank you in advance for your time and energy on these issues.
My website can be found at http://www.getrepowered.comI have the following questions:
1) When I changed the background color of the top Nav Bar, a grey box (the default color) appears behind the “Home” tab, but only when the home tab is selected. If I click on any other the other tabs (like “about”) the grey disappears and everything looks as it should. Is this a bug or am i missing something?2) On my “about” page there is a “reply” or “comment” area at the bottom of the page and I cannot figure out how to turn it off. It also appears on the end of my “posts”, but I have gone to settings->Discussion and unchecked “Allow people to post comments to new articles”. Is there a different workaround for this theme?
3) On the homepage, in the “highlights” area I have used “products” instead of “posts”, so is there a way to change the button from “read more” to “Purchase”. Also, is there a way for the button to lock below the writing rather than inline with the last line of writing? (this creates a weird spacing issue)
Again thank you so much for your help!
-
Also, could you tell me why I am getting this error? I literally cannot do anything without this error showing up now. PLEASE HELP!!
Warning: Cannot modify header information – headers already sent by (output started at /home/jmcmillan7/public_html/wp-content/themes/bootstrap-ultimate-child/functions.php:7) in /home/jmcmillan7/public_html/wp-includes/pluggable.php on line 1121
Welp there is a real problem now, I cant edit anything. I am on the wp-admin area and when I click a new item like “posts” or “pages” this error comes shows up on the white screen and I can only hit the back button. So I am now in an endless loop of clicking on something, getting the error and then it forcing me to click back, which restarts the whole cycle ;(
Welp there is a real problem now, I cant edit anything. I am on the wp-admin area and when I click a new item like “posts” or “pages” this error comes shows up on the white screen and I can only hit the back button. So I am now in an endless loop of clicking on something, getting the error and then it forcing me to click back, which restarts the whole cycle ;(
Hey, could you DM me your login credentials so I can have a look * or mail to : info |at| eodepo.com
Btw, you are NOT supposed to copy the functions.php file into your “child” theme folder. That’s probably the problem. delete
/bootstrap-ultimate-child/functions.php file.Read More about child themes here: https://codex.wordpress.org/Child_Themes#Using_functions.php
Marking as resolved.
GREAT!!! I recreated the file as custom-functions.php, so I could add in an action that I needed. Everything working as it should again. However, I still have same 3 questions as I indicated above:
1) When I changed the background color of the top Nav Bar, a grey box (the default color) appears behind the “Home” tab, but only when the home tab is selected. If I click on any other the other tabs (like “about”) the grey disappears and everything looks as it should. Is this a bug or am i missing something?
2) On my “about” page there is a “reply” or “comment” area at the bottom of the page and I cannot figure out how to turn it off. It also appears on the end of my “posts”, but I have gone to settings->Discussion and unchecked “Allow people to post comments to new articles”. Is there a different workaround for this theme?
3) On the homepage, in the “highlights” area I have used “products” instead of “posts”, so is there a way to change the button from “read more” to “Purchase”. Also, is there a way for the button to lock below the writing rather than inline with the last line of writing? (this creates a weird spacing issue)
My website can be found at http://www.getrepowered.com
THANK YOU SO MUCH!! Rated at 5 – Stars!
Whatever you name it, you should NOT copy / duplicate the contents of original functions.php file.
Create an empty ./child-theme/functions.php and you can put your custom functions in it. But you should not copy and append at the end, that’s not how it works.1.) It might be the “current” – “active” class acting up. I tried hitting your website but it dies with an error, you should fix it like I said above.
2.) The comment form should not display if the post / page is closed to comments. I’ve checked and everything is OK for me, cant reproduce that behaviour, sorry.
3.) Sure, make use of child themes by copying .\bootstrap-ultimate\inc\modules\highlights.php to .\{YOUR-CHILD-THEME}\modules\highlights.php
and then open the file you just copied, look for the line that says -around line70-<a class="btn btn-info" href="<?php the_permalink() ?>"><span class="glyphicon glyphicon-star"></span>Read More »</a>
and change the text to whatever you like.
Great thanks! The custom-functions.php only has 2 actions in it, nothing more. Great there!
1) My site should be functioning properly, I have viewed in Safari, Chrome & FF. (www.getrepowered.com). Please let me know if you can reproduce the Grey Box issue, #1 on list.
2) Am I closing the page/post comments correctly? I performed Settings -> Discussion -> Allow people to post comments on new articles (unchecked). Is that correct? Or is there another way to close this option?
3) Great, changed the text, but is there a way to have the text box locked below the description text rather than inline with the last few words?
I really appreciate all your help!!
1.) Yes it’s the “active” class. To remove it you should add a CSS rule:
#topmenuwrap .current_page_item.active > a { background-color: transparent; }
2.) Even if you disable comments in general settings, the comments may be open on single post level.
You should check the post. See:
http://s29.postimg.org/6477w396v/commmme_Untitled_7.jpg3.) Simply add a br/ before the link
<br /><a class="btn btn-inf...........
GREAT! Everything works perfectly and the site works like charm!! Thank you so much for your help!
- The topic ‘Header coloring, comment feature, buttons’ is closed to new replies.