I need my logo to shrink when I activate the slideshow, similar to what is shown in the image.
https://i.sstatic.net/WhobD.jpg
However, I'm struggling to get the jQuery code to work. Can someone please demonstrate how I can shrink a logo, like the one shown in the image above, without affecting the adjacent tabs? Once I understand how to shrink the logo, I can adjust the size to suit my preferences.
Below is the code for the navigation bar:
<nav class="navbar navbar-default navbar-fixed-top" style="opacity: 0.8;">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar"></button>
<a class="logo" href="School%20Home.html"><img style="padding-left: 100px; height: 120px; width: 235px;" src="https://s24.postimg.org/o3c7li4mt/Screen_Shot_2017-04-18_at_8.15.25_AM.png" alt="Human Rights Council Homepage"></a>
</div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav navbar-right">
<li style="font-size: 12.5px;"><a href="About.html">ABOUT</a></li>
<li style="font-size: 12.5px;"><a href="United%20Nations.html">UNITED NATIONS</a></li>
<!-- More list items here -->
</ul>
</div>
</div>
</nav>
The CSS styles for the navigation bar are included within the code snippet above under the Style
tag. Here is the CSS:
I also utilize several stylesheets that define the appearance of the navigation bar:
Here is the jQuery script I am using:
// Your jQuery Script Here