Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

Boldy Theme – Tweak PHP for 2nd Logo?

This can easily be accomplished with CSS.

Sometimes it’s better to use CSS to modify your theme. I use the Web Kit developer tools or Firebug to make live edits in the browser until it looks right then save it back to CSS.

Edit the following lines in style.css.

/* line 201  pulled down the icons to make room for the 2nd logo */
#topSocial {
    position:absolute;
    right:0;
    top: 150px;
}

/* line 80  add relative positioning to the wrapper div to allow the logo to be positioned absolute */
#wrapper {
    margin:0 auto;
    width:960px;
    position: relative;
}

/* line 85 made the header a little taller to make room for the 2nd logo*/
#header {
    height: 220px;
    position:relative;
    background:url(images/bk_header.png) 0 0 no-repeat;
}


/* line 312 moved the logo in place using position absolute */
#blurb img {
    border:none;
    position: absolute;
    top: 90px; 
    right: 15px; 
    margin-top: 5px;
}

The result:

enter image description here


Edit after question was clarified that an additional logo was needed

To add an additional logo open your header.php file and find the lines that look like this:

Edit

The 2nd logo code shown below should go at line 78 in your header.php file

enter image description here

<!-- END TOP SEARCH -->
<!-- BEGIN TOP SOCIAL LINKS -->

Between those two line add the basic XHTML to display a linked image:

<!-- END TOP SEARCH -->
<!-- BEGIN 2ND LOGO -->
<div id="new-logo">
<a href="http://link_you_want_image_to_point_to"><img src="http://url_of_image" width="xx" height="xx" /></a>
</div>
<!-- END 2ND LOGO -->
<!-- BEGIN TOP SOCIAL LINKS -->

Use the exact same CSS I gave you above except change

#blurb img {
     border:none;
     position:absolute;
     top: 90px;
     right: 15px;
     margin-top: 5px;
}

to:

#new-logo img {
         border:none;
         position:absolute;
         top: 90px;
         right: 15px;
         margin-top: 5px;
    }

Related Posts:

  1. Remove Site Logo from Homepage in Twenty Twentyone
  2. Inserting header logo in the bootstrap theme
  3. How to load google font only if custom logo is not uploaded
  4. Site logo is not clickable
  5. Need ‘logo page’ before wordpress page!
  6. different logo for home page and another logo for others page
  7. My WordPress doesn’t have the site logo feature? [closed]
  8. Logo is showing on small screen but not on screen size above 720px
  9. How do I make my sites logo smaller? [closed]
  10. theme logo setting to template file
  11. Load different logo on mobile
  12. How get the logo for my custom theme
  13. How to make is so the site logo can be changed easily without using the customizer?
  14. How to add dynamiclly logo in wordpress theme?
  15. Trouble Adding New Logo [closed]
  16. WordPress logo wont display on Avada theme after moving wordpress to new directory
  17. Adding a logo in html5 blank template
  18. Remove the logo on specific post [closed]
  19. Site logo not showing, no home page
  20. How to add CSS class to custom logo?
  21. How to insert a logo in the header?
  22. Custom ID for certain menu item?
  23. Multiple image logo for theme
  24. How to remove the WordPress logo from login and register page?
  25. How to change get_custom_logo() url?
  26. How do I handle the “WP_Customize_Cropped_Image_Control” callback?
  27. Change logo url link
  28. How do I enable the customize theme page to accept svg’s?
  29. Replace admin bar logo
  30. What flex-width/height does?
  31. Changing Login Logo
  32. WordPress login page logo customization
  33. Display a default image for custom-logo
  34. Changing itemprop from logo to image on custom logo?
  35. Change logo on each page of University Hub theme [closed]
  36. Custom logo sizes for multiple logos
  37. Custom Logo URL | Help me print the URL of the custom logo I inserted into my theme
  38. How to remove admin bar logo in WordPress using plugin
  39. No Appearance –> Header menu
  40. WordPress logo upload option in theme panel
  41. Remove link around logo
  42. How to add an RSS logo to my blogs header?
  43. Add more then one site logo – custom-logo theme support
  44. WordPress navbar with logo in middle [closed]
  45. Changing custom logo link
  46. Theme Options Page – User Updates Logo
  47. How can I use a logo in the header?
  48. Getting $curauth->ID to work inside a shortcode
  49. display dynamic WP Site logo on wp-admin using CSS
  50. Get Custom Logo Alt Text
  51. How to change logo url [closed]
  52. Is there a way of registering a default logo image for custom-logo?
  53. I want to hide header in the static homepage that I am working on [closed]
  54. Enable custom logo upload if logo is not in header
  55. Can’t resize logo in responsive theme?
  56. Three Questions with Twenty Eleven theme
  57. How to deal with logo color on dark mode?
  58. How to set the WordPress logo programmatically with PHP
  59. Need print logo without any ID & class
  60. Function has_custom_logo when used in Customizer
  61. how to add custom logo to my template
  62. Provide logo in theme
  63. Unable to add logo or header [closed]
  64. How to unpixelate logo?
  65. Change homepage’s logo link [duplicate]
  66. How to properly set custom logo size?
  67. How to change the link on the logo at the menu?
  68. WordPress theme logo handling (Trying to use GIF as logo)
  69. Convert multiple logos into the_custom_logo
  70. How can I set the SRC URL of the custom logo image?
  71. How to change logo by category
  72. get_header_image() causes “Prioritize visible content” issue in Page Speed Insights
  73. How do I add a logo to my website?
  74. Dynamic logo/banner depending on affiliate link
  75. How to change the link of the wordpress logo in the admin bar?
  76. Change Site Logo or Menu Logo Per Page
  77. How to add image on top of header logo in child theme?
  78. On home page remove link from logo
  79. Twenty Ten Theme: Replace the Logo by a picture without moving the code
  80. How to display custom logo on WordPress login page
  81. Changing header logo href for the checkout page
  82. Change logo url based on WP user role
  83. How do I change several broken URLs in a several wordpress databases in the fastest way?
  84. SIte logo is not displaying
  85. Adding a second logo next to the main one in header
  86. Logo custom width not implementing
  87. Logo Keeps Changing to the Default for Transparent Settings
  88. Exiting Customizer alert
  89. How to add site logo to wordpress displayed on the top left of the site name on the chrome tab or any other web browser? [closed]
  90. how to remove logo image hyperlink for wordpress
  91. How do I move my logo from the center to left (Pixgraphy theme)
  92. Alt header logo and link for specific pages
  93. Twenty Fourteen: Shrinking header while scrolling down
  94. Multiple logo’s in wordpress menu
  95. How to Take Logo Out of Navigation Menu? [closed]
  96. How to change a logo on a wordpress site that is part of a 7 site multisite?
  97. Change logo depending on domain
  98. Help! Need a different logo on my main page from my other pages
  99. Conditional Site Logo(Category Based)
  100. Site Icon upload and display in a theme
Categories logo Tags logo
I have two problems ( SEO )
How to get nav_menu_item_id and slug from wp database

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • Get the name of the template/*html file used
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
  • How to display the description of a custom post type in the dashboard?
  • Critical error on image display
  • Copying WP data and files into new install?
  • How to determine the DirectAdmin WordPress backup date?
  • How to get list of ALL tables in the database?
© 2026 Read For Learn
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress