Navigation Bar CSS Customization
-
I am using the Triton Lite theme and I would like to know if there’s a snippet for the following requests.
1. Is there a snippet to add a copyright text at the bottom of the page on the same direction as the text that is on the right but the copyright text that i would like to add to be on the left side.
2. Is there a snippet to change the color of the text in the navigation bar?
3. Is there a snippet to change the custom link that says “Blog” in the navigation bar to a logo image?
The blog I need help with is: (visible only to logged in users)
-
Hi,
1. Is there a snippet to add a copyright text at the bottom of the page on the same direction as the text that is on the right but the copyright text that i would like to add to be on the left side.
#copyright .copytext:before { content: "My Copyright"; position: absolute; left: 0; font-weight: bold; color: #fff; } #copyright .container { position: relative; }2. Is there a snippet to change the color of the text in the navigation bar?
#access a { color: #ff00ff; }3. Is there a snippet to change the custom link that says “Blog” in the navigation bar to a logo image?
This can require a good number of adjustments depending on the image. Can you upload it to your media library and then post the URL of that image for me to work with?
-
Thank you so much for the first two snippets, awesome job. Yes i already uploaded the image into my library and this is the URL of it https://vlogazul.files.wordpress.com/2016/02/banner-logo.png
-
Thanks for the link. Add this to the bottom of your custom CSS to replace “Blog” with your image.
#access #menu-item-15533 { background: url("https://vlogazul.files.wordpress.com/2016/02/banner-logo.png") no-repeat scroll center center /contain; width: 166px; height: 40px; } #access #menu-item-15533 a { text-indent: -9999px; display: block; } #access #menu-item-15533.current-menu-item > a, #access #menu-item-15533.current-menu-ancestor > a, #access #menu-item-15533.current_page_item > a, #access #menu-item-15533.current_page_ancestor > a { background: none; } -
Thank you so much for the snippet. You are a genius and your work is pretty awesome. Thanks.
-
-
I would like to know if there’s a snippet for the following.
If you click on my most recent post, you will see the social media icons on the right side of the widget section. Is there a snippet to put those media icons in the navigation bar? Next to the last category section in the menu bar and for those icon to align with the text, and if so also to change the color of those icons to the same color of the text of the navigation bar instead of the gray. Thanks
-
We can do that. Add the following to the bottom of your custom CSS. I also changed the color and hover color to match your menu items.
#wpcom_social_media_icons_widget-2 { position: absolute; top: 45px; right: 0; } #wpcom_social_media_icons_widget-2 .genericon { color: #edeef0; } #wpcom_social_media_icons_widget-2 .genericon:hover { color: #fff; } -
It works perfect, the only thing is that those icons appear everywhere except the home page, is there a snippet to fix that?
-
The sidebar widget area does not appear on the home page so that widget is not there for us to move.
You would need to move the social media widget into the footer sidebar and then we will have to redo the CSS.
-
I already updated the social media icons widget and put them in the footer section. I would appreciate if you can redo the CSS snippet.
-
We lucked out and not too much of a change from what I originally had. For the footer widget relocation, add the following.
#wpcom_social_media_icons_widget-2 { position: absolute; top: 45px; } #wpcom_social_media_icons_widget-2 .genericon { color: #edeef0; } #wpcom_social_media_icons_widget-2 .genericon:hover { color: #fff; } -
It worked perfectly, thanks.
Would there be a snippet for this. If you click on the latest post, you will see an image widget on the right side. Is there a snippet for that image widget to align with the image of the article? So that both images look evenly aligned. Thanks.
-
You can add some margin to the top of the image widget on single post pages with the following.
.single .widget_image { margin-top: 54px; }
- The topic ‘Navigation Bar CSS Customization’ is closed to new replies.