Skip to content
Public Ticket #500

css tributes on menu, does it work?

Conversation thread

rudyman85 replied

Customer Reply

Hi,

This works, many thanks for that! I love you're themes.

PenciDesign replied

Staff Reply

Hi,

Please try add more this code to Customize > Custom CSS to do that:

\
@media only screen and (min-width: 1170px){
#navigation .menu {
width: 1130px;
}
#navigation ul.menu > li:nth-last-child(1),
#navigation ul.menu > li:nth-last-child(2) {
float: right;
}
#navigation ul.menu > li:nth-last-child(1){
margin-right: 20px;
}
}
@media only screen and (min-width: 961px){    
#navigation .menu {
width: 910px;
}
#navigation ul.menu > li:nth-last-child(1),
#navigation ul.menu > li:nth-last-child(2) {
float: right;
}
#navigation ul.menu > li:nth-last-child(1){
margin-right: 20px;
}
}

Best Regards,

PenciDesign

rudyman85 started the conversation

Conversation Start

Hello and see my website. since the latest wordpress you can add CSS to the menu. i want to move the last 2 menu items to float right. With adding CSS i can't do this because when i add an css attribute in the menu, i can't edit it.

zee my attachment. 

i have soledad Photograpic magazine style, latest wordpress and i have read the manual for this theme.

Can you help me? Thanks.

Want to join this conversation or access attachments? Sign in first.