shawn Well-known member Sunday at 5:09 PM #1 In 2.2 and earlier releases, I used ".p-body-sidebar .block-container {....}" ".p-body-sidebar .block-minorHeader{..}", etc in extra.less to control the appearance of the sidebar widgets. How do I achieve the same result in 2.3+? TIA
In 2.2 and earlier releases, I used ".p-body-sidebar .block-container {....}" ".p-body-sidebar .block-minorHeader{..}", etc in extra.less to control the appearance of the sidebar widgets. How do I achieve the same result in 2.3+? TIA
fords8 Well-known member Yesterday at 1:20 PM #2 Something like this maybe. Have not tested this since I am not at nhome right now. If you previously had: Code: .p-body-sidebar .block-container { background: #f5f5f5; } .p-body-sidebar .block-minorHeader { font-weight: bold; } You would now use: Code: .block--sidebar { background: #f5f5f5; } .block--sidebar .block-header { font-weight: bold; } Hope it helps. Upvote 0 Downvote
Something like this maybe. Have not tested this since I am not at nhome right now. If you previously had: Code: .p-body-sidebar .block-container { background: #f5f5f5; } .p-body-sidebar .block-minorHeader { font-weight: bold; } You would now use: Code: .block--sidebar { background: #f5f5f5; } .block--sidebar .block-header { font-weight: bold; } Hope it helps.
shawn Well-known member Yesterday at 10:29 PM #3 fords8 said: Something like this maybe. Have not tested this since I am not at nhome right now. If you previously had: Code: .p-body-sidebar .block-container { background: #f5f5f5; } .p-body-sidebar .block-minorHeader { font-weight: bold; } You would now use: Code: .block--sidebar { background: #f5f5f5; } .block--sidebar .block-header { font-weight: bold; } Hope it helps. Click to expand... Thanks, but that's not quite it. The code I had before looks like it ought to work based off the class names of the nested divs, but it's not coming through at all. Upvote 0 Downvote
fords8 said: Something like this maybe. Have not tested this since I am not at nhome right now. If you previously had: Code: .p-body-sidebar .block-container { background: #f5f5f5; } .p-body-sidebar .block-minorHeader { font-weight: bold; } You would now use: Code: .block--sidebar { background: #f5f5f5; } .block--sidebar .block-header { font-weight: bold; } Hope it helps. Click to expand... Thanks, but that's not quite it. The code I had before looks like it ought to work based off the class names of the nested divs, but it's not coming through at all.