-
AuthorPosts
-
January 8, 2017 at 8:40 pm #730900
Hi there,
I am using the Photography Portfolio Template and would like to move the copyright footer to be underneath the verticle navigation bar. Is this possible to do with using quick css or do I need to edit the php. file? Any help would be wonderful. Thanks!
January 9, 2017 at 6:18 am #730976Hey tivo_designs,
I’m not sure if that would be possible but send us a link to your site and we’ll have a look at it.
Best regards,
RikardJanuary 9, 2017 at 6:49 pm #731243Thanks for your response Rikard. Link is: http://www.tivodesigns.com
The footer is on all of the pages except for the home page. I’d like for it to rest under the navigation bar on the left if possible?
Thanks again,
TonyJanuary 9, 2017 at 7:36 pm #731252i would use the option to make a header widget area in child-theme functions.php:
add_action( 'ava_after_main_menu', 'enfold_customization_header_widget_area' ); function enfold_customization_header_widget_area() { dynamic_sidebar( 'header' ); }
than call a new widget area “header”
you can use the copy right info area for something else or leave empty.
place a text widget in that new area with your desired info :
© 2016 All Rights Reserved. [TiVo Designs]
the rest is a bit css to style ityou have to look what widget id is it in your case:
#text-11.widget_text .textwidget { color: #fff; font-size: 11px; margin-left: 13%; }
the margin-left is the value of navigation li
if you only like to have this on front-page it is possible to set an if clause above only for front-page!
or to use f.e. “restrict widgets” there you can set that this text in header-widget is only shown on front-page.- This reply was modified 7 years, 11 months ago by Guenni007.
January 10, 2017 at 10:35 am #731489see here : https://webers-testseite.de/weber/foto/
by the way this is part of a test of the medical theme demo ! Just for you – the switch to left navigation and dark. :lol
make some fun and press another button in menu. Enfold switches than to normal layout (only foto is styled that way)btw: for the responsive case – i think we have to find a different place ? shrink the window above to see
- This reply was modified 7 years, 11 months ago by Guenni007.
January 11, 2017 at 5:11 am #731831Hi @tivo_designs,
Did you try out the suggestion from @guenni007 and did you have any luck with it?
Best regards,
RikardJanuary 11, 2017 at 6:10 pm #732187Hi Guenni,
Sorry for the delay in response. Thank you for the advice!
Forgive me if this seems like a dumb question, I’m still pretty new at editing php files. I’m able to find the functions.php file but am unsure as to where to insert the code that you provided. There are instructions to set the global var below in childthemes function.php to true. Does that need to be done? Which line does this script specifically need to go on?
Thanks!
January 12, 2017 at 1:58 pm #732642hm – TiVo and design your website. :wink
Please get familiar with working on child-themes. It is for working with codes snippets the best Solution – because updating the parent theme does not influence those changings!
Look here on enfold documentation:
Download a preset Child-Theme : http://kriesi.at/documentation/enfold/downloads/
Infos on how to: http://kriesi.at/documentation/enfold/using-a-child-theme/. with good instructions.the great advantage of child-theme functions.php ( if you download the preset- there is allready an empty one) is that it does not replace the parent-theme functions.php – it can add things to it.
( So if you got f.e. a copy of header.php file in your child theme folder it will totaly substitute the parent-theme file )On Enfold Documentation there are a lot of snippets which can help you to make some important changes. And a lot of hints and advices here on Support Forum do use this method.
_________________
This code snippet here:
add_action( 'ava_after_main_menu', 'enfold_customization_header_widget_area' ); function enfold_customization_header_widget_area() { dynamic_sidebar( 'header' ); }
comes to child-theme functions.php file. (you can make the changings via Dashboard/Appearance/Editor
on left side there are a list of files in child-theme folderTo input some broken codes here into functions.php can have the result that you only see a white page – than you only have the possibility to redo those entries by ftp down/upload the working file.
But if you do copy paste carefully the code it will work in most instances
So the code above registeres a widget area on a certain place (here i called it header)
if you than goto widgets and create the new widget (name: header) everything you put in that widget area goes to that area of enfold.Enfold got a lot of those possibilities to “hook” ( they often marked like:
do_action('xxxxxxxxx')
) where we can insert some code
in this case it is thehelper-main-menu.php
because the place of your desired area was created here – i looked into that php.January 12, 2017 at 2:13 pm #732653January 12, 2017 at 2:17 pm #732658you than can place any widget to that widget area ; if you only want to have here copyright info – than a text widget will do the job.
the rest is for quick css – by default the padding left of list points of navigation is 13% so i do it here for the text widget too:
#text-11.widget_text .textwidget { color: #fff; font-size: 11px; margin-left: 13%; }
the only thing is that on your installation this is
#text-11
to be replaced by your idJanuary 15, 2017 at 8:34 pm #733804Hi,
@Guenni007 thank you for sharing the solution :)
@tivo_designs please try the solution provided by @Guenni007 and let us know should you need any further assistance.Best regards,
VinayJanuary 28, 2017 at 5:10 am #739674I finally had time to go back to this and learn how to install and work with Child-themes!
I was able to get a widget into the navigation bar. Whoo! Only now I can’t seem to get it to center. I tried text-align: center but it wouldn’t work. Suggestions?
Thanks!
January 29, 2017 at 12:09 am #739857Hi,
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:
#header .widget { text-align:center; padding:20px 20px; }
Best regards,
VinayJanuary 30, 2017 at 12:31 am #740045Perfect. Thank you!
January 30, 2017 at 3:33 pm #740213Hi,
Glad we could help!
Please take a moment to review our theme on themeforest https://themeforest.net/downloads
To know more about enfold features please check – http://kriesi.at/documentation/enfold/
Thank you for using Enfold :)Best regards,
Vinay -
AuthorPosts
- The topic ‘Is it possible to move copyright footer under navigation’ is closed to new replies.