Right alignment of top level menu items

Permalink Browser Info Environment
I see you answered this for someone else, but since it's archived, I can't view it. I created a custom color css, and have looked at floating the items right, but then it reverses the order of the items! Is there a way just to move all the items right and maintain their site order?

http://dev.teknoziz.com:8888/cavicchio/...

Type: Discussion
Status: In Progress
TeKnoZiz
View Replies:
jb1 replied on at Permalink Reply
jb1
Sure, all you need to do is take away the width (100%) of the Unordered List (UL). Then float:right the entire UL (not the individual LI beneath it). Here's a screenshot of the changes you can make:
https://screencast.com/t/U48rhzbnr...
If you want to maintain the dark background all the way across, I suggest applying that to the wrapping DIV tag (CSS class: .jbmm.custom).

Hope this helps.

JB
TeKnoZiz replied on at Permalink Reply
TeKnoZiz
Excellent, that works great! The only question is for the last dropdown, it goes off the page. Is there any way to adjust for that?
jb1 replied on at Permalink Reply
jb1
Good point. There's 2 options:
1) use the full-width submenu option in the Mega Menu. The submenus will take up the entire width of the page; or
2) Add some CSS code. Unfortunately the DIV which wraps the submenus do not have a unique CSS class or ID to individually style them. So this could be done with a little JS code if you're familiar with that. Or tweak the view.php file in the Mega Menu to assign unique CSS classes to each submenu. Here's the 3 CSS definitions I changed on your site to get the effect you're after:
https://screencast.com/t/CUVbQIUJd...

I do offer custom coding services at US$90/hr so if you need any further help with that just let me know.

JB
jb1 replied on at Permalink Reply
jb1
I spoke too soon. I do have an idea!
Each top level menu item has a unique CSS class, so we can piggyback off that:

li.pl-9164 div.sub-container{ADD CSS CODE HERE}


This happens to be the CSS class for the last item on your particular menu.

Hope this helps.

JB

concrete5 Environment Information

# concrete5 Version
5.6.3.4

# concrete5 Packages
Accordion Menu (2.0), Advanced Forms (1.13.2), Dashboard Maximizer (2.0.4), Data Display (2.7.1.4), eCommerce (2.8.18), eCommerce Import (2.4.11), Flowplayer Free (1.2.1), Foundation 5 (1.6.0), Lerteco User Importer (2.1.1), List files from set (1.0.4), Login (1.1.1), Magic Data (2.10.10), Magic Data Commerce (1.5), Magic Data Symbols1 (2.7.30), Magic Data Templates1 (2.3.2), Mega Menu (1.5.37), Page Auto Redirect (2.0), Popup Pro (1.6.8), Pro Blog (12.4.4), reCAPTCHA (0.9.2), Register User Pro (1.3.16), The Void theme (1.0), tnSpacer (1.3), Upload and Install Packages (0.9.4.2).

# concrete5 Overrides
blocks/autonav, blocks/content, blocks/ff_login, blocks/formidable, blocks/jb_megamenu, blocks/jb_register, blocks/list_files_from_set, blocks/login, blocks/orbit_image_slider, blocks/orbit_slider, blocks/page_list, blocks/problog_list, blocks/product, blocks/product_list, blocks/search, controllers/checkout, elements/cart_item_list.php, elements/checkout, elements/orders, elements/product, elements/profile, js/formatter.js, js/formatter.min.js, js/jquery.formatter.js, js/jquery.formatter.min.js, js/scale.fix.js, css/ccm.base.css, languages/ar, languages/cs_CZ, languages/da_DK, languages/de_DE, languages/el_GR, languages/es_AR, languages/es_ES, languages/es_MX, languages/es_PE, languages/fa_IR, languages/fi_FI, languages/fr_FR, languages/it_IT, languages/ja_JP, languages/nb_NO, languages/nl_NL, languages/pt_PT, languages/ro_RO, languages/ru_RU, languages/sk_SK, languages/sl_SI, languages/sv_SE, languages/tr_TR, languages/vi_VN, languages/zh_TW, single_pages/blogsearch.php, single_pages/checkout, single_pages/profile, themes/foundation_5, tools/order_print.php

# concrete5 Cache Settings
Block Cache - Off
Overrides Cache - Off
Full Page Caching - Off

# Server Software
Apache

# Server API
apache2handler

# PHP Version
5.6.28

# PHP Extensions
apache2handler, bcmath, bz2, calendar, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, igbinary, imap, intl, json, ldap, libxml, mbstring, mcrypt, memcached, mhash, mysql, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, Reflection, session, SimpleXML, soap, sockets, SPL, sqlite3, standard, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, zip, zlib.

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 128M
post_max_size - 32M
sql.safe_mode - Off
upload_max_filesize - 32M
ldap.max_links - Unlimited
memcached.sess_lock_max_wait - 0
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.