Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Neighborhood › my text in header
New Landing › How can we help? › Themeforest Theme Support › Neighborhood › my text in header
- This topic has 5 replies, 2 voices, and was last updated 10 years by Melanie – SUPPORT.
-
Posted in: Neighborhood
-
November 11, 2013 at 2:38 pm #30801
Hello I want to say thank you for a cool theme. The more plunge into it, the more I admire its simplicity and accessibility. But now, faced with the problem:
I need to move the text “Welcome” to the right.
And on the left side write my text.Tell me how I can do it.
Thank you
November 13, 2013 at 11:47 am #31146Hi!
This sure is possible, but I’m afraid it’s not built into the theme and would have to be modified especially for you. We’d love to help you with this customization but we are only able to provide support for basic theme issues and bug fixes. We do provide support for small customizations but unfortunately this request is beyond that. Please see our general policy and guidelines for more info. You could also hire a developer to help you with your customizations.
Thank you for understanding!
Cheers!November 13, 2013 at 1:36 pm #31152I understand you. I’m sure I can do it myself) just tell me which file.php is the code. Thank you. I’ll do, I’ll show the result)))
November 15, 2013 at 1:23 pm #31566sf-header.php
Cheers!
November 16, 2013 at 1:35 pm #31661I did) ) )
Here’s what happened http://chayna.com.ua/– Open sf-header.php
– redidif ($ header_layout == “header- 1 “) {
$ header_output. = ‘<header id=”header” class=”clearfix”>’. “\ n”;
$ header_output. = ‘<div class=”container”>’. “\ n”;
$ header_output. = ‘<div class=”row”>’. “\ n”;
$ header_output. = ‘<div class=”header-left span4″>’. sf_woo_links222 (‘header-menu’, ‘logo-left’). ‘</ div>’. “\ n”;$ header_output. = sf_logo (‘span4 logo-center’);
$ header_output. = ‘<div class=”header-right span4″>’. sf_aux_links (‘header-menu’, TRUE). ‘</ div>’. “\ n”;
$ header_output. = ‘</ div> <! – CLOSE. row ->’. “\ n”;
$ header_output. = ‘</ div> <! – CLOSE. container ->’. “\ n”;
$ header_output. = ‘</ header>’. “\ n”;
$ header_output. = sf_mobile_search ();
$ header_output. = ‘<div id=”main-nav”>’. “\ n”;
$ header_output. = sf_main_menu (‘main-navigation’, ‘full’);
$ header_output. = ‘</ div>’. “\ n”;Removed excess of
/ * WOO LINKS
================================================== * /
function sf_woo_links ($ position, $ config = “”) {/ / VARIABLES
$ options = get_option (‘sf_neighborhood_options’);
$ tb_search_text = $ options [‘tb_search_text’];
$ woo_links_output = $ ss_enable = “”;if (isset ($ options [‘ss_enable’])) {
$ ss_enable = $ options [‘ss_enable’];
} Else {
$ ss_enable = true;
}/ / WOO LINKS OUTPUT
$ woo_links_output. = ‘<nav class=”‘.$position.'”>’. “\ n”;
$ woo_links_output. = ‘<ul class=”menu”>’. “\ n”;
if (is_user_logged_in ()) {
global $ current_user;
get_currentuserinfo ();
$ woo_links_output. = ‘- ‘. __ (“Welcome”, “swiftframework”). ” ” . $ current_user-> display_name. ‘</ li>’. “\ n”;
} Else {
$ woo_links_output. = ‘- ‘. __ (“Welcome”, “swiftframework”). ‘</ li>’. “\ n”;
}$ woo_links_output. = ‘</ ul>’. “\ n”;
$ woo_links_output. = ‘</ nav>’. “\ n”;/ / RETURN
And duplicated to be able to enter your own text
/ * WOO LINKS222
================================================== * /
function sf_woo_links222 ($ position, $ config = “”) {/ / VARIABLES
$ options = get_option (‘sf_neighborhood_options’);
$ tb_search_text = $ options [‘tb_search_text’];
$ woo_links_output = $ ss_enable = “”;if (isset ($ options [‘ss_enable’])) {
$ ss_enable = $ options [‘ss_enable’];
} Else {
$ ss_enable = true;
}/ / WOO LINKS OUTPUT222
$ woo_links_output. = ‘<nav class=”‘.$position.'”>’. “\ n”;
$ woo_links_output. = ‘<ul class=”menu”>’. “\ n”;if ($ ss_enable) {
if ($ position == “top-menu”) {
$ woo_links_output222. = ‘<li class=”tb-woo-custom clearfix”> <i class=”icon-zoom-in”> </ i > <span> ‘. do_shortcode ($ tb_search_text).’ </ span> </ a> </ li> ‘. “\ n”;
} Else {
$ woo_links_output. = ‘<li class=”hs-woo-custom clearfix”> <span>’. do_shortcode ($ tb_search_text). ‘</ span> </ a> </ li>’. “\ n”;
}
}
$ woo_links_output222. = ‘</ ul>’. “\ n”;
$ woo_links_output222. = ‘</ nav>’. “\ n”;/ / RETURN
return $ woo_links_output;
}And in the end suffered links here
/ * AUX LINKS
================================================== * /if ($ show_account) {
if (is_user_logged_in ()) {
global $ current_user;
get_currentuserinfo ();
$ aux_links_output. = ‘- ‘. __ (“Welcome”, “swiftframework”). ” ” . $ current_user-> display_name. ‘</ a> </ li>’. “\ n”;
if ($ myaccount_page_id) {
$ aux_links_output. = ‘- ‘. __ (“My Account”, “swiftframework”). ‘</ A>’. “\ n”;
$ aux_links_output. = ‘- ‘. __ (“Sign Out”, “swiftframework”). ‘</ A> </ li>’. “\ n”;
} Else {
$ aux_links_output. = ‘- ‘. __ (“My Account”, “swiftframework”). ‘</ A>’. “\ n”;
}
} Else {
$ aux_links_output. = ‘- ‘. __ (“Welcome”, “swiftframework”). ‘</ a>’. “\ n”;
$ aux_links_output. = ‘- ‘. __ (“Login”, “swiftframework”). ‘</ A>’. “\ n”;
}
}
if (($ position == “header-menu” &&! $ alt_version) && $ ss_enable) {
$ aux_links_output. = ‘- <i class=”icon-zoom-in”> </ i> <span>’. do_shortcode ($ tb_search_text ). ‘</ span> </ a> </ li>’. “\ n”;
}
$ aux_links_output. = ‘</ ul>’. “\ n”;
$ aux_links_output. = ‘</ nav>’. “\ n”;November 19, 2013 at 2:50 pm #32042Great 🙂
- ‘. __ (“Welcome”, “swiftframework”). ” ” . $ current_user-> display_name. ‘</ li>’. “\ n”;
-
Posted in: Neighborhood
You must be logged in and have valid license to reply to this topic.