@josevaranam (Josevaranam) posted a new topic, subject "Ion select box". It read:

   In ionic 4, not able to update the style of i want to modify the styles of
    [code] 
        .select-placeholder {
        	    opacity: 1;
        	}
        
            .select-icon {
        	    width: 25px;
        	    height: 25px;
        	}
        
    [/code]
    
    Any way to edit the styles of these.

Then @OliverPrimo (Oliver Primo) said

    Maybe you could try this code.
    [code] 
        ion-select {
            .select-placeholder {
                opacity: 1;
            }
        
            .select-icon-inner {
                width: 25px;
                height: 25px;
            }
        }
        
    [/code]
    
    Hope this helps

So @josevaranam (Josevaranam) replied

    Thanks you for the response. Sorry to say, its not working
    [code] 
        ion-select {
            width: 100%;
            max-width: 100%;
           .select-placeholder {
                opacity: 1;
            }
        
            .select-icon-inner {
                width: 25px;
                height: 25px;
            }
        }
        
    [/code]
    
    Only width get changed, other things as the same. Any alternative solution.

@OliverPrimo (Oliver Primo) replied

    Oh. That's weird, it works fine on me .
    
    Are you using this on a specific component or on a global basis?

Then @josevaranam (Josevaranam) said

    on component. I have to add the code in global.scss?

After which, @OliverPrimo (Oliver Primo) added

    If you are just trying to modify one component, I suggest to put those codes inside that component's scss. As far as I know every components have their own scss which you can use to modify specific components without affecting others


{'source': 'discourse', 'url': 'https://forum.ionicframework.com/t/ion-select-box/154951', 'title': 'Ion select box', 'views': 343, 'has_accepted_answer': False, 'word_count': 175, 'like_count': 0, 'reply_count': 4, 'participant_count': 2, 'posts': 6, 'tags': '', 'author': '@josevaranam (Josevaranam)', 'participants': '@josevaranam (Josevaranam), @OliverPrimo (Oliver Primo)', 'image_url': [None], 'created_at': '2019-02-01T03:25:18.784Z', 'last_posted_at': '2019-02-06T05:12:04.528Z'}