-
AuthorPosts
-
phoenix28 Friend
phoenix28
- Join date:
- March 2012
- Posts:
- 190
- Downloads:
- 331
- Uploads:
- 16
- Thanks:
- 29
- Thanked:
- 1 times in 1 posts
June 16, 2015 at 3:47 am #207436hi! i want to change my page masthead background color for every menu item. how do i do this? because if i use theme, it’s going to change the entire page’s color. i only want the masthead’s color to be changed.
please guide 🙂 thanks!
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
June 16, 2015 at 4:57 am #574160Hi there
you can apply custom css for each elements you want to change.
please provide your site and and screenshot for detail.
Thank you,
Viet Vuphoenix28 Friendphoenix28
- Join date:
- March 2012
- Posts:
- 190
- Downloads:
- 331
- Uploads:
- 16
- Thanks:
- 29
- Thanked:
- 1 times in 1 posts
June 16, 2015 at 5:38 am #574166hi jooservices! it’s currently still offline. i can provide you access. i’ll send you by PM.
this red background which is my main color is what i want changing depending on which menu i’m in.
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
June 16, 2015 at 6:06 am #574168Hi there
You ‘ll need modify that element to insert itemid of menu item and use that for css selector.Thank you,
Viet Vuphoenix28 Friendphoenix28
- Join date:
- March 2012
- Posts:
- 190
- Downloads:
- 331
- Uploads:
- 16
- Thanks:
- 29
- Thanked:
- 1 times in 1 posts
June 16, 2015 at 6:07 am #574169can show me how? thanks
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
June 16, 2015 at 7:31 am #574181Hi there
# You need to know and locate which layout file for this element
# You can use JInput to get current itemid or use
$app = JFactory::getApplication();
$menu = $app->getMenu()->getActive();Thank you,
Viet Vuphoenix28 Friendphoenix28
- Join date:
- March 2012
- Posts:
- 190
- Downloads:
- 331
- Uploads:
- 16
- Thanks:
- 29
- Thanked:
- 1 times in 1 posts
June 16, 2015 at 7:50 am #574190hmm.. i’m lost with what to do with those codes :((
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
June 16, 2015 at 10:13 am #574220Hi there
Please provide your site CPanel & backend access. I’ll help you work on it.Thank you,
Viet Vuphoenix28 Friendphoenix28
- Join date:
- March 2012
- Posts:
- 190
- Downloads:
- 331
- Uploads:
- 16
- Thanks:
- 29
- Thanked:
- 1 times in 1 posts
June 16, 2015 at 3:15 pm #574252PMed you the access. thanks jooservices 🙂
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
June 18, 2015 at 3:27 am #574521Hi there
I have updated layout file to insert itemid.
Now you can use this for custom css.
For sample
.t3-masthead.itemid-689 {
}https://www.dropbox.com/s/d6blkqmra7myvrv/2015-06-18_10-26-16.png?dl=0
Thank you,
Viet Vu1 user says Thank You to jooservices for this useful post
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
June 18, 2015 at 3:27 am #640866Hi there
I have updated layout file to insert itemid.
Now you can use this for custom css.
For sample
.t3-masthead.itemid-689 {
}https://www.dropbox.com/s/d6blkqmra7myvrv/2015-06-18_10-26-16.png?dl=0
Thank you,
Viet Vu1 user says Thank You to jooservices for this useful post
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
June 18, 2015 at 3:27 am #739530Hi there
I have updated layout file to insert itemid.
Now you can use this for custom css.
For sample
.t3-masthead.itemid-689 {
}https://www.dropbox.com/s/d6blkqmra7myvrv/2015-06-18_10-26-16.png?dl=0
Thank you,
Viet Vu1 user says Thank You to jooservices for this useful post
phoenix28 Friendphoenix28
- Join date:
- March 2012
- Posts:
- 190
- Downloads:
- 331
- Uploads:
- 16
- Thanks:
- 29
- Thanked:
- 1 times in 1 posts
June 18, 2015 at 5:17 am #574537<em>@jooservices 478762 wrote:</em><blockquote>Hi there
I have updated layout file to insert itemid.
Now you can use this for custom css.
For sample
.t3-masthead.itemid-689 {
}https://www.dropbox.com/s/d6blkqmra7myvrv/2015-06-18_10-26-16.png?dl=0
Thank you,
Viet Vu</blockquote>wow! perfect! thank you so much Viet Vu! 🙂
phoenix28 Friendphoenix28
- Join date:
- March 2012
- Posts:
- 190
- Downloads:
- 331
- Uploads:
- 16
- Thanks:
- 29
- Thanked:
- 1 times in 1 posts
June 18, 2015 at 5:17 am #640882<em>@jooservices 478762 wrote:</em><blockquote>Hi there
I have updated layout file to insert itemid.
Now you can use this for custom css.
For sample
.t3-masthead.itemid-689 {
}https://www.dropbox.com/s/d6blkqmra7myvrv/2015-06-18_10-26-16.png?dl=0
Thank you,
Viet Vu</blockquote>wow! perfect! thank you so much Viet Vu! 🙂
phoenix28 Friendphoenix28
- Join date:
- March 2012
- Posts:
- 190
- Downloads:
- 331
- Uploads:
- 16
- Thanks:
- 29
- Thanked:
- 1 times in 1 posts
June 18, 2015 at 5:17 am #739546<em>@jooservices 478762 wrote:</em><blockquote>Hi there
I have updated layout file to insert itemid.
Now you can use this for custom css.
For sample
.t3-masthead.itemid-689 {
}https://www.dropbox.com/s/d6blkqmra7myvrv/2015-06-18_10-26-16.png?dl=0
Thank you,
Viet Vu</blockquote>wow! perfect! thank you so much Viet Vu! 🙂
AuthorPostsThis topic contains 39 replies, has 2 voices, and was last updated by jooservices 9 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum