To post a new support question, click the Post New Topic button below.
Current Version: 4.9.1 | Sytist Manual | Common  Issues | Feature Requests

Please log in or Create an account to post or reply to topics.
You will still receive notifications of replies to topics you are part of even if you do not subscribe to new topic emails.

Css Adjustments To Topmainmenu

38 posts
Wed Nov 07, 18 10:40 AM CST
I'm trying to manipulate the sytist template to better match my Wordpress site. On my Wordpress menu I have the last menu item with a button so it stands out vs. just another menu item.

I thought I was close to getting it to look the same, but the drop down from the main menu also inherits the CSS and I end up with buttons I the drop downs. Any help would be greatly appreciated.

A link to the site is here: www.thomaskay.me
A link to the sytist install is here: www.thomaskay.me/photography

I have the following code configured in the design CSS area:
#topMainMenu ul.dropdown li:last-child{background-color:#0079ad; -moz-border-radius:25px; -webkit-border-radius:25px; border-radius:25px; display:inline-block; cursor:pointer; color: #ffffff!important; font-family:Montserrat; font-size:15px; padding:16px 10px; text-decoration:none;}
#topMainMenu li:last-child a{color:#FFF!important;}
#topMainMenu li:last-child a:active{color: #FFF!important;}
#topMainMenu li:last-child a:hover{color: #FFF!important;}
#topMainMenu li:last-child a:visited{color: #FFF!important;}
38 posts
Wed Nov 07, 18 10:43 AM CST
I can change it to nth-child(6) but that's really just a temporary fix. If I ever add any other menu items to the photography services drop down, it would inherit the value again.
16,216 posts (admin)
Wed Nov 07, 18 11:13 AM CST
What you can do is in Design -> Menu Links, wrap your contact text in a span ... <span class="contactmenu">Contact</span>

Then in Design -> Edit My Theme -> Additional CSS add this code:

.contactmenu { background-color:#0079ad; border: solid 1px #0079ad; -moz-border-radius:25px; -webkit-border-radius:25px; border-radius:25px; display:inline-block; cursor:pointer; color: #ffffff!important; font-family:Montserrat; font-size:15px; padding:16px 10px; text-decoration:none; }
.contactmenu:hover { background: #FFFFFF; border: solid 1px #0079ad; color: #0079ad !important; }

Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
38 posts
Wed Nov 07, 18 11:34 AM CST
I would add the span class to the name field of the menu item?
16,216 posts (admin)
Wed Nov 07, 18 11:42 AM CST
Yes in the Link text field.
Attached Photos

Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
38 posts
Wed Nov 07, 18 12:44 PM CST
Thank you! I didn’t know I could use inline html with the name field.

So the only last thing I need to work on is a minor padding issue at the top of the page and format the drop down menu to match the other part of the site.

Would you have time to assist with those elements for an additional fee?
16,216 posts (admin)
Thu Nov 08, 18 2:54 AM CST
Email me a screenshot of where you are talking about the padding issue.
Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
38 posts
Thu Nov 08, 18 3:27 PM CST
Sent you an email... but I think I got all the header related things fixed with the exception of the dropdown menu. That's just not lining up for some reason with the CSS between wordpress and sytist.

I had to change your sy-main.php to move the toolbar within the content container and put it before the header. Once I did that, the blue bar now looks exactly the same as the main site.
8 total messages
Please log in or Create an account to post or reply to topics.
This post has been viewed 607 times
Category: Site Design
 
Loading more pages
Loading more pages

Sign up for email promotions.

Your information is safe with us and won't be shared.

Thank you for signing up!

 
©2003 - 2021 Grissett, LLC. All Rights Reserved.

By continuing to browse or by clicking Accept Cookies, you agree to the storing of cookies on your device necessary to provide you with the services available through our website.

    Accept   Privacy & Cookie Policy
Loading More Photos
Scroll To Top
Close Window
Loading
Close