Complex sentence: The small Fife ports grew in significance and Edinburgh took an increasing share of trade through its port of Leith, forcing smaller ports to diversify into other commodities and to undertake more coastal trading.
Split into simpler sentences: The small Fife ports grew in significance and Edinburgh took an increasing share of trade through its port of Leith. This forced smaller ports to diversify into other commodities and to undertake more coastal trading.